[WiX-users] Why is WiX UI executed after CostFinalize?

2011-02-21 Thread John Mersh
I have suffered form the standard problem that many people on this mailing list hit where conditions on features apparently don't work because the UI is executed after the CostFinalize action when these are applied. Why is the UI run after Cost Finalize rather than before it? If the UI were run

[WiX-users] write to IniFile

2011-02-21 Thread Michael Tissington
I'm trying to write to an iniFile. How do I tell it which folder the file is in? Currently it seems to insist that it is in the \Windows folder. -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio

Re: [WiX-users] Burn: Planning: package customization

2011-02-21 Thread Vadym Verba
Actually Bob Arnson was right. I have the following code works: 1) In Bundle.wxs: Variable Name=db_name Value=old_db_name/ Chain MsiPackage Id=SomeMsiId SourceFile=some.msi MsiProperty Name=DB_NAME Value=db_name/ /MsiPackage /Chain 2) In BA managed code:

Re: [WiX-users] heat: the ID of a directory with numeric name

2011-02-21 Thread Samuel.Ferencik
Hi, I guess this question is for me rather than for Palbinder. I am running heat 3.0.5419.0. And I do use -suid (on purpose). Anyway, this is not critical, I was just wondering if there was a good explanation for the ID change from Directory1234 to _1234, but I can live with it. Thanks a

Re: [WiX-users] heat: the ID of a directory with numeric name

2011-02-21 Thread Tobias S
You can use the -t:xsl (transform harvested output with XSL file) parameter to use a XSL-transform. A sample XSLT can be found here: http://www.wixwiki.com/index.php?title=Heat or search this mailing list e.g. at http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/ for some samples.

Re: [WiX-users] Enabling/disabling features by script

2011-02-21 Thread Eschenbacher, Frank
Found out how it works: IN a jscript simply do Session.Property(ADDLOCAL) = ALL; Session.Property(REMOVE) = FeatureName; That's all! -Original Message- From: Eschenbacher, Frank [mailto:frank.eschenbac...@voltdelta.net] Sent: Thursday, February 17, 2011 8:05 AM To:

Re: [WiX-users] Patching Using Purely Wix

2011-02-21 Thread Liam Flanagan
Peter, Thanks you for your reply. This does seem very promising; I'll let you know how we get on with it. Cheers, Liam -Original Message- From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] Sent: 17 February 2011 10:55 To: General discussion for Windows Installer XML toolset.

Re: [WiX-users] write to IniFile

2011-02-21 Thread Rob Mensching
Yep, annoying, eh? The MSI SDK documents that behavior. Want to contribute a custom action that does better? On Mon, Feb 21, 2011 at 1:04 AM, Michael Tissington michael_tissing...@ciqual.com wrote: I'm trying to write to an iniFile. How do I tell it which folder the file is in? Currently it

Re: [WiX-users] write to IniFile

2011-02-21 Thread Michael Tissington
Actually I have got it to work just great. It was a spelling mistake on my part. Component Id=Data Guid=PUT-GUID-HERE CreateFolder Permission User=!(loc.EveryoneGroup) GenericAll=yes/ /CreateFolder CopyFile Id=ini FileId=myini

Re: [WiX-users] write to IniFile

2011-02-21 Thread James Johnston
http://msdn.microsoft.com/en-us/library/aa369282(VS.85).aspx DirProperty Name of a property having a value that resolves to the full path of the folder containing the .ini file. The property can be the name of a directory in the Directory table, a property set by the AppSearch table, or any other

Re: [WiX-users] Why is WiX UI executed after CostFinalize?

2011-02-21 Thread MikeR
http://msdn.microsoft.com/en-us/library/aa368048(v=vs.85).aspx CostFinalize must be run before UI is displayed to allow Features to be selected or Directories to be changed, which most installer UIs allow users to do. If you are changing properties that affect component/feature conditioning in

Re: [WiX-users] Running a custom action with elevated privileges

2011-02-21 Thread Wilson, Phil
The system account is irrelevant here. What matters is the list of rights that the msiexec process is running with, and it does not have all possible rights enabled all of the time. I think you've already discovered that, so I don't know what to advise. I forget where this is documented, but

Re: [WiX-users] How to change the Windows Integrity level in Vista/Win7 when launching the application

2011-02-21 Thread little.forest
Thanks Rob for your reply. Honestly, I'm not sure when the custom action is scheduled because I took the example(How To: Run the Installed Application After Setup) from Wix.chm. Here's our code: Property Id=WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT Value=!(loc.LaunchAppString)

[WiX-users] MSBuild batching - Disabling incremental clean of MSIs only

2011-02-21 Thread Jacques Eloff
Hi I rely on batching to generate multiple sets of MSIs from the same wixproj files. The files are generated to the same output location, but are different based on properities I pass to the wixproj files that control thigns like the MSI name, etc. I'd typically invoke the project as follows

[WiX-users] Problem with RemoveExistingProducts action

2011-02-21 Thread Igor Lemsky
I have upgrade scenario for my system from 2.0 version to 2.1 version. I have file for example aaa.xml in 2.1 version and no such file in 2.0 version. It lies in independent component i feature Afeature (it was in 2.0 also). During install there are no problems: file installs to the right