Re: [WiX-users] ExecuteSqlStrings fails with the Error 0x80004005: failed to connect to database: 'master'

2011-10-16 Thread Yan Sklyarenko
erent ports actually. All > I could think of, was that the MSI was not managing to connect to the > database server, even when it is on the same server. > > Regards > > Michael > > > > -Original Message- > From: Yan Sklyarenko [mailto:yansklyarenko+...@gm

Re: [WiX-users] ExecuteSqlStrings fails with the Error 0x80004005: failed to connect to database: 'master'

2011-10-16 Thread Yan Sklyarenko
t SQL instance, throws an error):* > > msiexec /i sqldatabase.msi SQLSERVER=. DB=test USER=sa PASSWORD=*** > LOGVERBOSE=1 /l*v install_default.log > > *And this one installs fine (referencing named SQL instance):* > > msiexec /i sqldatabase.msi SQLSERVER=.\SQLEXPRESS USER=sa PASSWORD

Re: [WiX-users] ExecuteSqlStrings fails with the Error 0x80004005: failed to connect to database: 'master'

2011-10-12 Thread Yan Sklyarenko
Under Management -> SQL > Server Logs. > > Sorry on the delay, I went home before I got your reply. > > Michael > > -Original Message- > From: Yan Sklyarenko [mailto:yansklyarenko+...@gmail.com] > Sent: Friday, 7 October 2011 6:00 PM > To: General discussion for Wind

Re: [WiX-users] ExecuteSqlStrings fails with the Error 0x80004005: failed to connect to database: 'master'

2011-10-07 Thread Yan Sklyarenko
id userid > 6 Attempt to use a Windows login name with SQL Authentication > 7 Login disabled and password mismatch > 8 Password mismatch > 9 Invalid password > 11 and 12 Valid login but server access failure > 13

[WiX-users] ExecuteSqlStrings fails with the Error 0x80004005: failed to connect to database: 'master'

2011-10-07 Thread Yan Sklyarenko
Hello WiX Community, I have the following problem. I have a number of SqlString elements which run "CREATE DATABASE ... FOR ATTACH" kind of queries. It fails to run on SQL 2008 (I tested on R2, but it seems that pure 2008 is also affected), DEFAULT INSTANCE ONLY. I mean, if I specify any named in

Re: [WiX-users] how to create a single component in output wxs file for whole directory using heat

2011-03-22 Thread Yan Sklyarenko
Components: > http://msdn.microsoft.com/en-us/library/aa368269(v=vs.85).aspx > > Regards, > Chris > > --- > Christopher Painter, Author of Deployment Engineering Blog > Have a hot tip, know a secret or read a really good thread that deserves > attention? E-Mail Me > >

Re: [WiX-users] how to create a single component in output wxs file for whole directory using heat

2011-03-22 Thread Yan Sklyarenko
heat.exe doesn't support this out of the box - it was designed to encourage the best practice, which is "one file - one component". However, you can apply an XSL transform to the heat output and change it the way you need. You can also take a look at the Paraffin tool ( http://www.wintellect.com/CS

Re: [WiX-users] light.exe: error LGHT0182: cannot find table definiation for the 'Group' table

2011-03-16 Thread Yan Sklyarenko
Have you checked exactly what the error message is saying? It's quite verbose and as a rule for WiX error messages the likely reason turns out to be the exact reason. -- Yan On Tue, Mar 15, 2011 at 4:09 PM, RAJ wrote: > Thanks. i am able to build now but getting error while building msi package

Re: [WiX-users] light.exe: error LGHT0182: cannot find table definiation for the 'Group' table

2011-03-14 Thread Yan Sklyarenko
Make sure you follow this guideline: http://wix.sourceforge.net/manual-wix3/using_standard_customactions.htm -- Yan On Mon, Mar 14, 2011 at 11:31 PM, RAJ wrote: > Hi, > > When I try to build MSI project, getting following

[WiX-users] Workaround to the missing option to use property values in file names

2011-03-11 Thread Yan Sklyarenko
Hello WiX community, I've got a requirement to change the name of the installed files based on the user input. The initial thought was to use the property values, but it turns out not to be supported. I've also read this: " http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Using-a-lt-P

Re: [WiX-users] I am new to using WIX..

2011-03-03 Thread Yan Sklyarenko
Take a look at this: http://blogs.msdn.com/b/pmarcu/archive/2008/05/25/wix-wix-pdb.aspx As you can see, the truth has nothing to do with your assumption :-) -- Yan On Thu, Mar 3, 2011 at 4:09 PM, Peter Berton (Plumbline) < v-pb.

Re: [WiX-users] Executing CA after InstallFiles

2011-03-02 Thread Yan Sklyarenko
Make your CA deferred (Execute="deferred") -- Yan On Tue, Mar 1, 2011 at 1:47 PM, vunder wrote: > I'm trying to execute CA after InstallFiles (I want to execute it after > files > are copied): > > > DllEntry="BoxUpdate"/> > >

[WiX-users] ExecSecureObjects fails with "access denied" error

2011-02-25 Thread Yan Sklyarenko
Hello WiX Community, I have a requirement for my MSI package to set certain permissions on %SYSTEMROOT%\Globalization folder. Well, that's quite trivial itself, but ExecSecureObjects throws "access denied" error trying to do this. After some troubleshooting and investigations it turns out that SYS

Re: [WiX-users] How to issue a "netsh http add urlacl url=.." command at install time...

2011-02-24 Thread Yan Sklyarenko
If CAQuietExec custom action is used (as mentioned by Ed previously and as the name of CA suggests), the console window won't be shown. -- Yan On Fri, Feb 25, 2011 at 9:13 AM, Dan Vasilov wrote: >A custom action will do exactly what you need, but please be aware > your setup users will

Re: [WiX-users] What's the reason of not allowing the modification of the persistent data from within the CA?

2011-02-20 Thread Yan Sklyarenko
opy but it is, of course, discarded when the install is complete. IIRC, the > Windows Installer does not let you modify the stuff read-only from the > database. I think that's just a restriction they enforce. > > Why? You'd have to ask the Windows Installer team. > On Fri

Re: [WiX-users] What's the reason of not allowing the modification of the persistent data from within the CA?

2011-02-18 Thread Yan Sklyarenko
the database > for read-only during install. > > On Thu, Feb 17, 2011 at 1:55 AM, Yan Sklyarenko < > yansklyarenko+...@gmail.com> wrote: > >> Hello WiX Community, >> >> Well, actually the subject tells it all. I'm aware of this limitation, and >> I&

[WiX-users] What's the reason of not allowing the modification of the persistent data from within the CA?

2011-02-17 Thread Yan Sklyarenko
Hello WiX Community, Well, actually the subject tells it all. I'm aware of this limitation, and I've been successfully using the CA working with temporary data. Now I'd like to know the reasoning behind this. Is it a technical limitation? Why we can't "temporary" change the persistent data, just f

Re: [WiX-users] Creating just a web app pool on Server 2008 R2 with IIS 7.5, WiX 3.5 RTM

2011-02-16 Thread Yan Sklyarenko
I've recently faced this issue myself and here's even an easier work around: Just place elements for IIsWebSite and IIsWebAddress tables, and the application pool will be created successfully. So, no need to define a fake website. -- Yan On Thu, Feb 17, 2011 at 6:06 AM, John Robbins wrote: >

Re: [WiX-users] ManagedPipelineMode and ManagedRuntimeVersion typing

2011-02-15 Thread Yan Sklyarenko
en I move from padavan to Jedi ;-) -- Yan On Mon, Feb 14, 2011 at 5:06 PM, Rob Mensching wrote: > Usually those things are just oversights. If you think a field should be > formatted, file a bug and make the case. > > On Mon, Feb 14, 2011 at 6:21 AM, Yan Sklyarenko < > yansklyarenk

[WiX-users] ManagedPipelineMode and ManagedRuntimeVersion typing

2011-02-14 Thread Yan Sklyarenko
Hello WiX Community, I'm just wondering what the reason is for restricting ManagedPipelineMode and ManagedRuntimeVersion to be a limited set of predefined values? I understand the ManagedPipelineMode evaluates into a single bit to be ON or OFF, and it's easier in terms of implementation of IIsExte

Re: [WiX-users] Failed to marshal script action with vbscript custom action

2011-02-06 Thread Yan Sklyarenko
It seems that you became a victim of VBScript CA. See Rob's blog post for more details: http://blogs.msdn.com/b/robmen/archive/2004/05/20/136530.aspx -- Yan On Mon, Feb 7, 2011 at 8:30 AM, supriya_n wrote: > > Hi, > I have one vbsc

Re: [WiX-users] Using WiX without installing it (just copy)

2011-01-04 Thread Yan Sklyarenko
This should help you: http://wix.sourceforge.net/manual-wix3/daily_builds.htm -- Yan On Tue, Jan 4, 2011 at 9:48 AM, Bosch, Andreas wrote: > Hi everyone, > > I would like to use WiX (with MSBuild) without running the WiX installer, > but b

Re: [WiX-users] Is there a way to use WiX 3.0 with VS 2008 and WiX 3.5 (3.6) with VS 2010 at one PC?

2010-12-30 Thread Yan Sklyarenko
< robert.inzin...@skidata.com> wrote: > This means it is not possible to edit 3.0 projects with VS if there is 3.5 > (3.6) installed? > > -Ursprüngliche Nachricht- > Von: Yan Sklyarenko > [mailto:yansklyarenko+...@gmail.com > ] > Gesendet: Donnerstag, 30. Dez

Re: [WiX-users] Is there a way to use WiX 3.0 with VS 2008 and WiX 3.5 (3.6) with VS 2010 at one PC?

2010-12-30 Thread Yan Sklyarenko
S 2008 does not recognize WiX projects. > > Any Ideas? > > Robert > > > -Ursprüngliche Nachricht- > Von: Yan Sklyarenko > [mailto:yansklyarenko+...@gmail.com > ] > Gesendet: Donnerstag, 30. Dezember 2010 10:07 > An: General discussion for Windows Installer X

Re: [WiX-users] Is there a way to use WiX 3.0 with VS 2008 and WiX 3.5 (3.6) with VS 2010 at one PC?

2010-12-30 Thread Yan Sklyarenko
I've recently asked the similar question on this list: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Any-option-to-run-3-0-and-3-5-on-a-single-build-server-side-by-side-tt5858620.html

Re: [WiX-users] Any option to run 3.0 and 3.5 on a single build server side-by-side?

2010-12-22 Thread Yan Sklyarenko
Thank you all, guys! I must have been blind, but I didn't pay attention to that topic. -- Yan On Wed, Dec 22, 2010 at 3:08 PM, Tobias S wrote: > Help topic describing the configuration where the WiX environment is > just fetched from the SC is here: > http://wix.sourceforge.net/manual-wix3/dail

[WiX-users] Any option to run 3.0 and 3.5 on a single build server side-by-side?

2010-12-22 Thread Yan Sklyarenko
Hello WiX Community, I know it is not possible to install both WiX 3.0 and 3.5 on a single server the usual way. I face with the situation when part of my projects are on 3.0, another part are on 3.5. And I can't upgrade all of them to 3.5 now for various reasons. We have all projects on a single

Re: [WiX-users] Wix version supported by Visual Studio 2010

2010-11-29 Thread Yan Sklyarenko
You don't have to find a special build of WiX 3.5. Just pick the latest one, which is now an escrow release: http://robmensching.com/blog/posts/2010/11/25/WiX-v3.5-now-escrow.-Production-release-imminent

Re: [WiX-users] First WiX 3.6 installation experience

2010-11-22 Thread Yan Sklyarenko
6/Burn-baby.-Burn > > 3. Yep, left them both so if there is a bug in Burn's uninstall you can > still easily remove the MSI. > > 1 and 3 are there to help testing. 2 is there because making it pretty > takes a lot of time and there are 30+ bugs to fix first. > > >

[WiX-users] First WiX 3.6 installation experience

2010-11-19 Thread Yan Sklyarenko
Hello people, I've just installed the most recent build of WiX v3.6 (3.6.1112.0), and here's what I noticed: - the installation went longer than it was for 3.0/3.5 builds, as for me - the bootstrapper UI is quite ugly, but that's acceptable for an early build :-) - after installation

Re: [WiX-users] Error in Custom Action

2010-09-24 Thread Yan Sklyarenko
Can this be the case that you have Return='ignore' in the custom action definition? I suppose in this case returning ActionResult.Failure will be ignored. -- Yan -Original Message- From: Alexander Kozlenko [mailto:alexander.kozle...@hotmail.com] Sent: Thursday, September 23, 2010 01:50 T

Re: [WiX-users] Warning 21 File in Component was changed, but the KeyPath file was not

2010-09-16 Thread Yan Sklyarenko
That's an interesting question. I would expect it to be a "Value" part, but I'm not sure... You can try it out. As for the many files in your distribution, have you investigated the heat.exe tool? It can create the entire authoring for you automatically. We have 20 000+ files to be installed, and

Re: [WiX-users] General discussion for Windows Installer XML toolset.

2010-09-15 Thread Yan Sklyarenko
If you plan to patch these files separately, I would suggest having 1 file per component. This will automatically make each file a KeyPath of its component and you'll be able to patch naturally. OffTopic: BTW, it would be great for the subject not to be generic, but reflect the basic idea of the p

Re: [WiX-users] WiX 3.6

2010-09-15 Thread Yan Sklyarenko
This should answer your question: http://robmensching.com/blog/posts/2010/9/6/Burn-baby.-Burn I suggest you'd better subscribe to Rob's blog - it is the source of the most recent news in WiX area. -- Yan -Original Message- From: Alex Ivanoff [mailto:alex.ivan...@shavlik.com] Sent: Wednes

Re: [WiX-users] UpgradeGUID question

2010-08-19 Thread Yan Sklyarenko
http://msdn.microsoft.com/en-us/library/aa372379(VS.85).aspx -- Yan -Original Message- From: gapearce [mailto:mr_gapea...@yahoo.com] Sent: Thursday, August 19, 2010 18:28 To: wix-users@lists.sourceforge.net Subject: [WiX-users] UpgradeGUID question What is the point of the UpgradeGUID

[WiX-users] WiX proposal on Area51

2010-07-27 Thread Yan Sklyarenko
Hello WiX Community, I'm sure you know about StackOverflow.com. The authors of this fantastic resource opened another service, called Area51. It allows building a community around a certain topic and create an ad hoc site like StackOverflow.com for free. Take a look here: http://area51.stackexchan

Re: [WiX-users] Logging in deferred CA

2010-07-20 Thread Yan Sklyarenko
Why not? You can use Session.Log() in deferred CA as well. -- Yan -Original Message- From: Stelios Kyprou [mailto:stelios.kyp...@formicary.net] Sent: Tuesday, July 20, 2010 13:05 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Logging in deferred CA Hello!

Re: [WiX-users] General global Property question

2010-07-14 Thread Yan Sklyarenko
You don't have to. And the condition equal to the name of the property will check if it was defined, that is, if the user entered anything to your edit box. -- Yan -Original Message- From: Stelios Kyprou [mailto:stelios.kyp...@formicary.net] Sent: Wednesday, July 14, 2010 17:04 To: Gener

Re: [WiX-users] Localization issue: One msi file for severallanguages

2010-07-06 Thread Yan Sklyarenko
Beware though - it is not officially supported behavior, which doesn't work in 100% cases, as some other threads in this list prove... -- Yan -Original Message- From: Rob Hamflett [mailto:r...@snsys.com] Sent: Tuesday, 06 July, 2010 16:37 To: wix-users@lists.sourceforge.net Subject: Re:

Re: [WiX-users] Uppercase letters in Edit control

2010-07-02 Thread Yan Sklyarenko
That's my answer to the Stackoverflow.com thread you started, but you'd probably like to hear others reading this list :) " I don't think there is a way to do it without a custom action (CA). The most straightforward approach which comes to my mind is to create an immediate CA, which converts the

Re: [WiX-users] How to uninstall the program if I made such mistake

2010-07-01 Thread Yan Sklyarenko
You can try to find the Product Code of this installation in registry (under SOFTWARE/Microsoft/Windows/CurrentVersion/Uninstall) and run the uninstall like this: Msiexec /x {PRODUCT-CODE-GUID-HERE} IGNORE_PRE_CHECK=1 Hope this helps, -- Yan -Original Message- From: Elfe Xu [mailto:e

Re: [WiX-users] Bold Titles on Custom Dialogs

2010-06-30 Thread Yan Sklyarenko
Prefix the text with "{\WixUI_Font_Title}". So, in your text it will be: But, if you want this to be localized (I guess you do), move the value of the Text attribute to a *.wxl file, and leave a reference to it from the Control element, something like this: *.wxl ... {\WixUI_Font_Title

Re: [WiX-users] AppPool gets deleted during uninstall

2010-06-29 Thread Yan Sklyarenko
I'm not sure what "the same problem" means, but the following works the way you need:

Re: [WiX-users] setting the existing apppool to my virtual directory other than than the default apppool.

2010-06-29 Thread Yan Sklyarenko
Do you want to change the identity of the existing application pool? If not, you can just omit that attribute in order to leave the settings of the apppool untouched. Just specify required attributes (Id and Name). -- Yan -Original Message- From: MYFLEX [mailto:shrinuen...@gmail.com] Se

Re: [WiX-users] setting the existing apppool to my virtual directory other than than the default apppool.

2010-06-29 Thread Yan Sklyarenko
If you always reference an existing AppPool, which is not installed by your installation and should stay after your application is uninstalled, you can move the definition of the AppPool (iis:WebAppPool element) out of the and then only reference it from your virtual folder (iis:WebVirtualDir). H

Re: [WiX-users] Same file name different locations

2010-06-22 Thread Yan Sklyarenko
If you use Heat.exe to harvest your source files, the File/@Id will be generated automatically. -- Yan -Original Message- From: mbulli...@aol.com [mailto:mbulli...@aol.com] Sent: Tuesday, 22 June, 2010 14:33 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Same file name differen

Re: [WiX-users] Patching multiple instances of product using new purelyWix process.

2010-06-09 Thread Yan Sklyarenko
Does this thread help: http://www.mail-archive.com/wix-users@lists.sourceforge.net/msg27915.htm l ? -- Yan -Original Message- From: d8x...@hotmail.com [mailto:d8x...@hotmail.com] Sent: Tuesday, 08 June, 2010 21:49 To: Wix-Users Subject: [WiX-users] Patching multiple instances of product

Re: [WiX-users] Use a custom localization file to overwrite default forerror code

2010-06-08 Thread Yan Sklyarenko
As far as I can see, the standard texts are all marked with Overridable="yes" attribute. If you override a particular string, you usually omit this attribute, and your value will replace the one defined in the standard extension. By the way, I just noticed you say "we reference ... and WixUI_en-us

Re: [WiX-users] I broke my project somehow...

2010-06-08 Thread Yan Sklyarenko
Maybe, just uninstall WiX toolset and install it back? It must be quick and clean... -- Yan -Original Message- From: Michael He [mailto:michael...@gmail.com] Sent: Tuesday, 08 June, 2010 10:08 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] I broke my

Re: [WiX-users] The same list of transforms must be appliedfor install/uninstall/repair, right?

2010-06-03 Thread Yan Sklyarenko
t; of itself and the "first instance" no longer exists. -Original Message- From: Yan Sklyarenko [mailto:y...@sitecore.net] Sent: Thursday, June 03, 2010 2:20 AM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] The same list of transforms must be appli

[WiX-users] The same list of transforms must be applied for install/uninstall/repair, right?

2010-06-03 Thread Yan Sklyarenko
Hello WiX Community, I would appreciate a confirmation about the following statement I'm 90% sure myself. According to the Transforms definition (http://msdn.microsoft.com/en-us/library/aa367447(VS.85).aspx) " The installer registers a list of transforms required by the product during the installa

Re: [WiX-users] How to detect MSI database codepage at runtime?

2010-06-02 Thread Yan Sklyarenko
maryInfoGetProperty() and associated Win32 functions, or the scripting Installer.SummaryInfo etc Phil Wilson -Original Message- From: Yan Sklyarenko [mailto:y...@sitecore.net] Sent: Friday, May 28, 2010 2:13 AM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users

[WiX-users] How to detect MSI database codepage at runtime?

2010-05-28 Thread Yan Sklyarenko
Hi WiX Community, Does anyone know if it is at all possible to get the MSI database codepage at runtime? The session.Database.CodePage throws exception... The MSDN says you should export tables (wtf???) in order to determine the codepage - that's probably why session.Database.CodePage fails from C

Re: [WiX-users] Votive v3 download location

2010-05-20 Thread Yan Sklyarenko
It's inside wix3.msi. -- Yan -Original Message- From: Andy.Kruger [mailto:appr...@gmail.com] Sent: Thursday, May 20, 2010 13:17 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Votive v3 download location Can anybody give me the correct download location for votive v3? I can'

[WiX-users] Translations for WiX extensions

2010-05-07 Thread Yan Sklyarenko
Hello WiX community, I noticed that although WiX dist provides a number of predefined translations for UI, those translations don't include WiX extensions (IIsExtension, SqlExtension, etc.) Only en-US.wxl is present in each of them... Does anybody have a translated set of extensions to the same s

[WiX-users] torch.exe help is not very clear

2010-05-07 Thread Yan Sklyarenko
Hello Wix community, The torch.exe help text seems a bit misleading to me. For instance, I was sure I could write something like this: Torch.exe ... -serr abcdef... but I couldn't. And only after looking down in code I realized it should be "-serr a -serr b", etc. Something wrong with me? :) O

Re: [WiX-users] Read file content from CA

2010-05-06 Thread Yan Sklyarenko
If it is possible in your case, I would change the build script to dump these files to the custom MSI table(s) and let the CA read the table(s) to pull necessary data and alter the behavior of the installation. Thus, you won't need to perform heavy operations in immediate CA. And moreover, you g

[WiX-users] Is "neutral culture" package really necessary?

2010-04-14 Thread Yan Sklyarenko
Hello WiX community, It is well-known that the best "supported" way of having all localization in a single MSI package is: - create a package with neutral culture - create a package for each culture - generate language transforms and embed into the "neutral culture" package - use bootstrapper

Re: [WiX-users] Leave files after uninstall?

2010-04-13 Thread Yan Sklyarenko
I think the alternative way is to mark the component as 'Permanent': http://wix.sourceforge.net/manual-wix3/wix_xsd_component.htm Depending on what you need: this way leaves the component patchable. -- Yan

Re: [WiX-users] Problems with adding items to ListBox

2010-04-09 Thread Yan Sklyarenko
Right, that's because you can only add temporary records from inside the custom action. -- Yan -Original Message- From: vunder [mailto:vun...@bk.ru] Sent: Friday, April 09, 2010 15:52 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Problems with adding items to ListBox Pr

Re: [WiX-users] Problems with adding items to ListBox

2010-04-09 Thread Yan Sklyarenko
I think you should still list all the columns in brackets: INSERT INTO `ListBox` (`Property`,`Order`,`Value`,`Text`) VALUES ('SELECTEDGUICONFIG',2,'2','1.brf') And, BTW, get a habit to wrap table and column names in `...` For more information, see the MSI SQL syntax definition: http://msdn

Re: [WiX-users] Support Phone Number

2010-04-08 Thread Yan Sklyarenko
Set the ARPHELPTELEPHONE property: http://msdn.microsoft.com/en-us/library/aa367588(v=VS.85).aspx -- Yan -Original Message- From: Markus Karg [mailto:k...@quipsy.de] Sent: Thursday, April 08, 2010 11:49 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Suppor

Re: [WiX-users] installing on windows server 2008 -BUMP-

2010-03-22 Thread Yan Sklyarenko
What about adding OR IISMAJORVERSION="#6" to your condition? Because for IIS 6 "IIS 6 compatibility" is automatically 'true'. -- Yan -Original Message- From: Shabbir Ahsan [mailto:shabbir_ah...@hotmail.com] Sent: Monday, March 22, 2010 12:34 To: wix-users@lists.sourceforge.net Subj

Re: [WiX-users] Wix uninstall problem

2010-02-18 Thread Yan Sklyarenko
I guess you should save those values to the registry (see RegistryKey / RegistryValue elements) and use the RegistrySearch element to populate the properties with those values. In this case, your uninstall should go smoothly. -- Yan -Original Message- From: Thu Rein Win Htet [mailto:trwh

Re: [WiX-users] increment the value of a reg key

2010-02-18 Thread Yan Sklyarenko
I don't think you can do it without custom action. However, it should be pretty simple: 1. Use the standard RegistrySearch functionality to get the value you need into a property 2. [CA here] Modify the property the way you need (increment, for instance) 3. Use the standard RegistryKey/Reg

Re: [WiX-users] Windows Installer XML toolset version 3.0.4805

2010-02-16 Thread Yan Sklyarenko
It seems you are referring the "beta-exit" build of WiX. It can be found by this link: http://wix.sourceforge.net/releases/3.0.4805.0/, but it seems to be broken right now... Maybe, WiX admins at sourceforge.net can help here? -- Yan -Original Message- From: Иван Петров [mailto:ipetr.

Re: [WiX-users] Write and read values from .ini file

2010-02-16 Thread Yan Sklyarenko
Take a look at the IniFile (http://wix.sourceforge.net/manual-wix3/wix_xsd_inifile.htm) and IniFileSearch (http://wix.sourceforge.net/manual-wix3/wix_xsd_inifilesearch.htm) elements. -- Yan -Original Message- From: rahul.ekb...@sungard.com [mailto:rahul.ekb...@sungard.com] Sent: Tuesday,

Re: [WiX-users] rename a file in a patch made using Pyro.exe

2010-02-08 Thread Yan Sklyarenko
Have you tried this: http://blogs.msdn.com/pmarcu/archive/2009/05/19/wix-removing-files-with- patches.aspx ? To tell it short, make the component Transitive and make its condition always false. This should work, but I totally agree that this technique should be taken really carefully. Though, if y

Re: [WiX-users] How to rename an existing file after installation(major upgrade)?

2010-02-03 Thread Yan Sklyarenko
Have you considered an option to put this responsibility on the application, not installation? As you mentioned, the file is not installed, but is created by the application, so the misprint is rather a bug of application... -- Yan -Original Message- From: Nicole Zheng [mailto:nicole.zhen

Re: [WiX-users] Yahoo pipe for the blogs about installation

2010-01-26 Thread Yan Sklyarenko
Installer XML toolset.' Subject: Re: [WiX-users] Yahoo pipe for the blogs about installation It looks interesting, but there is an error ' Pipes encountered a problem while running this pipe: malformed engine data (2)'. Did it choke on a bad blog? -Original Message- From:

[WiX-users] Yahoo pipe for the blogs about installation

2010-01-26 Thread Yan Sklyarenko
Hello WiX Community, I thought this can be useful for some of you. For me, lots of the info related to Windows Installer, WiX and installations in general come from various blogs of known authorities. Hence, I've generated a simple Yahoo pipe in order to have a simpler way to subscribe to this kin

Re: [WiX-users] WiX Tutorial: a minor issue in the Patchwork section

2009-12-21 Thread Yan Sklyarenko
each page, the author's name is a hyperlink that opens a partially populated email message to compose (assuming your email client and your computer's browser are both setup for that). Here is that hyperlink: mailto:d...@tramontana.co.hu?subject=wixtutorial -Original Message-

[WiX-users] WiX Tutorial: a minor issue in the Patchwork section

2009-12-17 Thread Yan Sklyarenko
Hello WiX community, I noticed a minor issue in the Patchwork section of the WiX tutorial. I don't know the place to register the issues for this, but I know that the author is reading this list ;) Here (http://www.tramontana.co.hu/wix/lesson4.php#4.3) the tutorial says: " A PatchFamily tag encom

Re: [WiX-users] IIS6/IIS7 Detection

2009-12-17 Thread Yan Sklyarenko
IIsExtension offers the ready-made properties for this (also taken from registry, but under the hood): IISMAJORVERSION - major version IISMINORVERSION - minor version Thus, IIS 7.5 will be detected like: IISMAJORVERSION = "#7" IISMINORVERSION = "#5" Hope this helps, -- Yan

Re: [WiX-users] HTTPS and IIS

2009-12-17 Thread Yan Sklyarenko
>> but in WiX v3.5 native IIS7 support is available Wow! Can't believe it finally happened! Rob, did you convince IIS team to fix this? Or is it a workaround made by wise WiX developers? :) -- Yan -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: Thursday, De

Re: [WiX-users] Patch/Media/@Id question

2009-12-17 Thread Yan Sklyarenko
ou are doing it right. -Original Message- From: Yan Sklyarenko [mailto:y...@sitecore.net] Sent: 16 December 2009 14:26 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Patch/Media/@Id question Hello WiX community, I have a simple question, just to make sure

[WiX-users] Patch/Media/@Id question

2009-12-16 Thread Yan Sklyarenko
Hello WiX community, I have a simple question, just to make sure. When creating a patch, should I always change Patch/Media/@Id attribute between patches? For instance, I have Patch1.wxs, which is to be applied to RTM (baseline), and Patch2.wxs, which is to be applied to RTM+Patch1. In Patch1.wxs

Re: [WiX-users] Multiple Instances and Component IDs

2009-12-14 Thread Yan Sklyarenko
Kevin, What's the problem with uninstalling? Each instance you install is reflected by an entry in Add/Remove Programs console (ARP), unless you disabled it explicitly (http://msdn.microsoft.com/en-us/library/aa367750(VS.85).aspx). Hence, you can uninstall it directly from ARP. Or, otherwise, use

Re: [WiX-users] Does the name of the Media/@Cabinet matterforsubsequent patches?

2009-12-11 Thread Yan Sklyarenko
r patching attempts but I wonder if you need to match them up to use wix patching tools. -Original Message----- From: Yan Sklyarenko [mailto:y...@sitecore.net] Sent: 11 December 2009 10:18 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Does the name of the Medi

Re: [WiX-users] Length of Source parameter

2009-12-11 Thread Yan Sklyarenko
I can't suggest about @Source length since I have no idea if there are any limitations, but have you tried (as a workaround) choosing another way of specify source for files, known as implicit, when the final source is constructed out of the parent directories? For more information take a look at

[WiX-users] Does the name of the Media/@Cabinet matter for subsequent patches?

2009-12-11 Thread Yan Sklyarenko
Hello WiX community, The simple question (I hope) for those who made friendship with patches. Does the name of the Cabinet attribute (Media/@Cabinet) matter for subsequent patches? For instance, I have a baseline, then build one patch, which specifies MyPatch.cab in that attribute. The next pa

Re: [WiX-users] How do you set APRNOMODIFY in WIX - I get a compileerror when I do it.

2009-12-10 Thread Yan Sklyarenko
http://www.tramontana.co.hu/wix/lesson6.php#6.7 Also, verify that it is not defined twice. AFAIR, certain WiX UI mode has it defined... -- Yan From: Robert Hermann [mailto:rob.herm...@nicewareintl.com] Sent: Thu 12/10/2009 20:51 To: General discussion for Win

Re: [WiX-users] How to specify files in Installer package

2009-12-10 Thread Yan Sklyarenko
ant to ignore > > Directory="INSTALLDIR" > Guid="*"> > (which includes one file) > > I used the aforementioned example and tried with match="@id[.='cmp20CFFB2FF46488AF2CD00E2C9543E202']" /> But the filter > doesn't seem to apply

Re: [WiX-users] How to specify files in Installer package

2009-12-10 Thread Yan Sklyarenko
Markus, The heat.exe has a switch -t:. If you specify this switch running heat, the 'transform.xsl' will be applied to the regular output of you heat command. The final resulting wxs file will contain transformed xml. There are no special requirements for that XSL transform. Hope this helps, --

Re: [WiX-users] Instance transforms with the msi

2009-12-07 Thread Yan Sklyarenko
See if this can be of any help for you: http://ysdevlog.blogspot.com/2008/12/multiple-instance-installations-and .html It works for me. -- Yan -Original Message- From: Uma Harano [mailto:uhar...@esri.com] Sent: Tuesday, December 08, 2009 01:24 To: General discussion for Windows Installer

Re: [WiX-users] NeverOverwrite attribute behavior

2009-12-03 Thread Yan Sklyarenko
7;s keypath does not change, you will see Component: CreateIISSite7x64; Installed: Local; Request: Null; Action: Null In that case, the component will be left in place and won't be touched. -Original Message- From: Yan Sklyarenko [mailto:y...@sitecore.net] Sent: Thursday, December 03, 2

Re: [WiX-users] NeverOverwrite attribute behavior

2009-12-03 Thread Yan Sklyarenko
ler's domain). You control the keypath (and thus the installation behavior of the IIS extension) yourself. -----Original Message- From: Yan Sklyarenko [mailto:y...@sitecore.net] Sent: Wednesday, December 02, 2009 12:37 AM To: General discussion for Windows Installer XML toolset. Subject: [

[WiX-users] NeverOverwrite attribute behavior

2009-12-02 Thread Yan Sklyarenko
Hello WiX community, According to the MSI documentation, "if 'NeverOverwrite' bit is set, the installer does not install or reinstall the component if a key path file or a key path registry entry for the component already exists". What about components, which refer to the parent directory as a key

Re: [WiX-users] Patching: weird numbers for Media.DiskId andFile.Sequence

2009-11-24 Thread Yan Sklyarenko
ers are correct for a given package since Windows Installer 2.0 and newer will automatically adjust file sequence number as necessary." I assume this is Windows Installer adjusting the file sequence number as necessary. -Original Message- From: Yan Sklyarenko [mailto:y...@sitecor

Re: [WiX-users] Patching: weird numbers for Media.DiskId andFile.Sequence

2009-11-23 Thread Yan Sklyarenko
Any ideas? Anyone? -- Yan -Original Message- From: Yan Sklyarenko [mailto:y...@sitecore.net] Sent: Friday, November 20, 2009 11:59 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Patching: weird numbers for Media.DiskId andFile.Sequence Hello WiX Community, I have been

Re: [WiX-users] Install files side-by-side with a patch

2009-11-23 Thread Yan Sklyarenko
] Install files side-by-side with a patch Yan Sklyarenko wrote: >FileA.txt.patched (the one installed by the patch) > I'm not a patching guru, but I highly doubt that's going to be possible. The resource (file) would no longer represent how it's defined in the comp

[WiX-users] Patching: weird numbers for Media.DiskId and File.Sequence

2009-11-20 Thread Yan Sklyarenko
Hello WiX Community, I have been analyzing the log file of my patch installation, and faced with a weird numbers I don't know the origin of. Here's the snippet: " ... TRANSFORM: The minimum 'Media.DiskId' value inserted by a patch transform is 100 TRANSFORM: The maximum 'Media.DiskId' value inser

[WiX-users] Install files side-by-side with a patch

2009-11-19 Thread Yan Sklyarenko
Hello WiX community, This question is primarily addressed to the "patching gurus". :) I have the following requirement. During the patch installation I should detect if the files to be patched were modified by the user, and if yes, install the new versions of those files side-by-side, disregardin

Re: [WiX-users] how to install the same version to different path

2009-10-16 Thread Yan Sklyarenko
This is called "multiple instance installation" and is usually achieved via the conception called "instance transforms". The docs about it can be found here: http://msdn.microsoft.com/en-us/library/aa369523(VS.85).aspx The WiX support to this is: http://wix.sourceforge.net/manual-wix3/wix_xsd_ins

Re: [WiX-users] Installing without IIS in spite ofoptionalwebapplication component

2009-09-30 Thread Yan Sklyarenko
ound this myself though: Any help/reference that I missed to check? Or is this knowledge that you can only get by looking at the source? Regards, Ben On Tue, Sep 29, 2009 at 9:08 PM, Yan Sklyarenko wrote: > You should set SKIPCONFIGUREIIS property to 1 in order to skip IIS > configuration steps

Re: [WiX-users] Installing without IIS in spite of optionalwebapplication component

2009-09-29 Thread Yan Sklyarenko
You should set SKIPCONFIGUREIIS property to 1 in order to skip IIS configuration steps. Thus, when your "IIS-related" feature is not selected by user, set the SKIPCONFIGUREIIS property to 1. This will ignore any IIS-related elements in your code. Hope this helps. -- Yan

Re: [WiX-users] HttpHeader doesn't handle theduplicatedelements correctly and breaks custom headers in IIS

2009-09-08 Thread Yan Sklyarenko
Any ideas? Anyone? What direction to dig to troubleshoot this? -- Yan -Original Message- From: Yan Sklyarenko [mailto:y...@sitecore.net] Sent: Monday, September 07, 2009 11:20 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] HttpHeader doesn&#

Re: [WiX-users] run BAT files hiddenly

2009-09-07 Thread Yan Sklyarenko
http://wix.sourceforge.net/manual-wix3/qtexec.htm -- Yan -Original Message- From: Polazhenko Sergey [mailto:s_polazhe...@tut.by] Sent: Monday, September 07, 2009 4:31 PM To: 'General discussion for Windows Installer XML toolset.' Subject: [WiX-users] run BAT files hiddenly Good day, W

Re: [WiX-users] HttpHeader doesn't handle the duplicatedelements correctly and breaks custom headers in IIS

2009-09-07 Thread Yan Sklyarenko
e duplicatedelements correctly and breaks custom headers in IIS Importance: Low Smells like a codepage issue. Crack open your MSI with Orca. What do your IIsHttpHeader table contents look like? -Original Message- From: Yan Sklyarenko [mailto:y...@sitecore.net] Sent: Friday, September 04, 2009

[WiX-users] HttpHeader doesn't handle the duplicated elements correctly and breaks custom headers in IIS

2009-09-04 Thread Yan Sklyarenko
Hello WiX Community, I’ve faced with a problem, which seems to be a bug in IIS extension. I have a Website element (in a component), which contains HttpHeader element. When I run the installation, it changes the custom headers in IIS in the following way: -- if there's no such header name, i

  1   2   3   >