Re: [WiX-users] Condition based on INSTALLLOCATION

2008-03-02 Thread Justintu
Hi Alex, I am having exactly the same problem as RW had, trying to check if a file exists or not in the installation directory. I have tried to use custom action but failed and my code is something like this: XMLFILEEXISTS

[WiX-users] Need help to check if a file exists in the installation folder

2008-03-02 Thread Justin Zhen Tu
Hi there, I am having problem with my WIX installer and I wonder if there anyone can help me out. The problem is I need to check if this file "localappsetting.config" exists in the installation folder, copy a new file if it doesn't exist otherwise ignore. Below is my code and it does work:

Re: [WiX-users] Condition based on INSTALLLOCATION

2008-03-02 Thread Alexander Shevchuk
Hi Justin, Take a look at suggested sequences in the sequence tables (http://msdn2.microsoft.com/en-us/library/aa372404(VS.85).aspx). For your example important to understand the order of the following actions (this is recommended order): - Checking launch conditions (LaunchConditions action) - A

[WiX-users] Registering COM and .Net assemblies in WiX

2008-03-02 Thread Stas Klyachkovsky
Hi there, During the setup I need to registry some COM dlls as well as some .Net assemblies (regsvr32 and regasm). How can I do this in WiX? Thanks, Stas - This SF.net email is sponsored by: Microsoft Defy all challenges. Mic

Re: [WiX-users] Registering COM and .Net assemblies in WiX

2008-03-02 Thread Richard
In article <[EMAIL PROTECTED]>, Stas Klyachkovsky <[EMAIL PROTECTED]> writes: > During the setup I need to registry some COM dlls as well as some .Net asse= > mblies (regsvr32 and regasm). > How can I do this in WiX? Yes use the COM and/or Registry tables to do this. DO NOT use a custom ac

Re: [WiX-users] Registering COM and .Net assemblies in WiX

2008-03-02 Thread Alexander Shevchuk
Use Heat (or Tallow, depending on which version you are using): http://www.wixwiki.com/index.php?title=Heat From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stas Klyachkovsky Sent: Sunday, March 02, 2008 1:06 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Registering CO

Re: [WiX-users] are fragments still the right way to componentize development and is there a recommended wix3 solution for targeting installationlocation at c:\Program Files (x86)\... on x64 systems a

2008-03-02 Thread Bob Arnson
Robert O'Brien wrote: Regarding response to q1 - after sending mail I saw the following comment on http://wix.sourceforge.net/. Is that comment suggesting that fragments are still valid and the recommended way for breaking apart a wxs development project but now the element name used to r

Re: [WiX-users] Light... could spare me some time!

2008-03-02 Thread Bob Arnson
Aurélien DEROUINEAU wrote: >> The problem is that when building the project, the FIL files are put in >> the >> right folder (\files), however Windows Installer looks for them >> inside >> the root folder and not the files subfolder, which is rather frustrating: >> I’ve been trying to hack around w

[WiX-users] XmlConfig bug?

2008-03-02 Thread Tom.Chmielenski
I am using XmlConfig to add a number of lines to an existing xml file, here is an example of one line: It installs and uninstalls properly, but when I run a repair on this installer, it rewrites all entries into the file, rather than just the missing ones? Is this the intended behavior, a

[WiX-users] ComponentGroupRef element & error CNDL0205

2008-03-02 Thread shivit
Hi I am using the heat tool to generate the directory structure. heat.exe dir -gg -template:fragment -sfrag "C:\FolderName" -out FolderName.wxs In FolderName.wxs, it groups all the ComponentRef elements under In my main program, I am having But I am encountering error CNDL0205. The