Re: [WiX-users] Component condition question

2011-04-11 Thread maksim.vazhenin
Check that UPGRADE_FROM_VERSION is set during silent installation. -Original Message- From: Greg [mailto:g...@swansonsoftware.com] Sent: Tuesday, April 12, 2011 3:44 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Component condition question Hi: I have a component with t

Re: [WiX-users] SqlDatabase install optional and SqlString execute

2011-04-11 Thread Michael Osmond
I'm guessing that the locator will be resolved when the first SqlString in the 2nd component tries to run against it? I think that is effectively the case Michael -Original Message- From: Mike Menaker [mailto:mi...@voicebox.com] Sent: Tuesday, 12 April 2011 10:28 AM To: General discuss

Re: [WiX-users] SqlDatabase install optional and SqlString execute

2011-04-11 Thread Mike Menaker
Ok, thanks. I guess my question is when the locator is resolved. The scenario you described is exactly what I have. I just wasn't sure if the locator would try and resolve itself before the db is created in the scenario where the db doesn't exist yet. I'm guessing that the locator will be resolv

Re: [WiX-users] SqlDatabase install optional and SqlString execute

2011-04-11 Thread Michael Osmond
No unfortunately the cancel is for the whole installer. Just re-read the original message, and I think you can make your scenario work. Have two components and a non component SqlDatabase locator: - the first component has the SqlDatabase element and SqlString elements for the MSI to create the

Re: [WiX-users] SqlDatabase install optional and SqlString execute

2011-04-11 Thread Mike Menaker
The cancel will apply to only the DB creation, not to the whole installer, right? -Original Message- From: Michael Osmond [mailto:mosm...@baytech.com.au] Sent: Monday, April 11, 2011 3:46 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] SqlDatabase ins

[WiX-users] Component condition question

2011-04-11 Thread Greg
Hi: I have a component with the following condition: "Remove"]]> where UPGRADE_FROM_VERSION = "6.1.8.78" and InstallMode = "Change". When I run the msi in full UI mode, the component installs. But when I run the msi in silent mo

Re: [WiX-users] SqlDatabase install optional and SqlString execute

2011-04-11 Thread Michael Osmond
Mike, SqlDatabase has an option ConfirmOverwrite, if set to yes the installer will prompt if it finds a database already created, and allows you to cancel or continue. Using this option the installer only needs to deal with option 1 and you get 2 for free. If you want to be defensive agains

[WiX-users] Setup wizard ended prematurely because of an error

2011-04-11 Thread bharatj
Hello All, I have written my first action script using C#. It has to create a text under temp folder. If temp folder exists action script runs successfully and WIX MSI works perfect. If temp folder doesnt exist action script returns failure and Setup ends prematurely. It is not showing the intende

Re: [WiX-users] Supporting downgrades with Key paths

2011-04-11 Thread Kathy Morey
I'm not sure if this is according to Best Practices or not, but you could also change the component code of the file whose version is downgraded so that it is a different component than the "newer" version. -Original Message- From: Wilson, Phil [mailto:phil.wil...@invensys.com] Sent: Mo

Re: [WiX-users] Supporting downgrades with Key paths

2011-04-11 Thread Wilson, Phil
The decision to replace files (or not) is associated with Costing, and that's happened by the time your RemoveExistingProducts runs. You could try sequencing RemoveExistingProducts before CostInitialize. That should behave like a complete uninstall followed by a new install. I've used that, I

[WiX-users] SqlDatabase install optional and SqlString execute

2011-04-11 Thread Mike Menaker
Hi, I want to adjust my installer to have 2 different modes: 1. User wants to create database and then I run a set of SqlString 2. User uses preexisting database and then I run the same set of SqlString Right now I have a SqlDatabase element in a component that creates the

[WiX-users] Handling project output that is NOT primary output (xml, pdb)...

2011-04-11 Thread Thomas Tomiczek
...any support for that? Or do I have to construct the file name myself? Given the following component: There is a file Adapters.xxAdapters.dl that I can "address" via var.Adapters.xxAdapters.TargetPath. What about the two "side artifacts" that I also want t

Re: [WiX-users] Supporting downgrades with Key paths

2011-04-11 Thread Michael Tissington
The log file does not report any files in use. -Original Message- From: maksim.vazhe...@emc.com [mailto:maksim.vazhe...@emc.com] Sent: 11 April 2011 14:18 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Supporting downgrades with Key paths Check which files are in use during

Re: [WiX-users] Supporting downgrades with Key paths

2011-04-11 Thread maksim.vazhenin
Check which files are in use during your upgrade. Replacement of files in use requires a reboot. -Original Message- From: Michael Tissington [mailto:michael_tissing...@ciqual.com] Sent: Monday, April 11, 2011 4:18 PM To: 'General discussion for Windows Installer XML toolset.' Subject: Re

Re: [WiX-users] Supporting downgrades with Key paths

2011-04-11 Thread Michael Tissington
I've tried that and it fixes the problem but introduces another, that at the end of the install it now asks me to reboot (when there is no need to) -Original Message- From: maksim.vazhe...@emc.com [mailto:maksim.vazhe...@emc.com] Sent: 11 April 2011 13:08 To: wix-users@lists.sourceforge.n

Re: [WiX-users] Supporting downgrades with Key paths

2011-04-11 Thread maksim.vazhenin
You can change REINSTALLMODE to always reinstall files during upgrade. -Original Message- From: Michael Tissington [mailto:michael_tissing...@ciqual.com] Sent: Monday, April 11, 2011 3:39 PM To: 'General discussion for Windows Installer XML toolset.' Subject: [WiX-users] Supporting downgr

[WiX-users] Supporting downgrades with Key paths

2011-04-11 Thread Michael Tissington
I have a problem with downgrades. I have RemoveExistingProducts scheduled before InstallInitialize. I have a component with the keypath set to a file (.exe) When I downgrade the version number of the exe is older so the install marks the component as not valid for install because a latter versio

Re: [WiX-users] ProductVersion does not changed after install Patch

2011-04-11 Thread Peter Shirtcliffe
Inside the PatchFamily, include, So that the updated productversion property is included in the patch. -Original Message- From: Elfe Xu [mailto:elf...@microsoft.com] Sent: 11 April 2011 04:38 To: wix-users@lists.sourceforge.net Subject: [WiX-users] ProductVersion does not changed aft

[WiX-users] Adding .DLL using WiXEdit

2011-04-11 Thread swapna.rachakonda
Hi, I am able to add component using WiXEdit 7.5 but how to tag .dll to that component.. there is no option of .dll when I right click on component. -- Xperia(TM) PLAY It's a major breakthrough. An authentic

[WiX-users] Adding .DLL using WiXEdit

2011-04-11 Thread swapna.rachakonda
Hi, I am able to add component using WiXEdit 7.5 but how to tag .dll to that component.. there is no option of .dll when I right on component. -- Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smart