[WiX-users] minor upgrade: reinstall flag?

2007-08-28 Thread Craig Ward
I'm trying to respond to a minor upgrade in my InstallExecuteSequence section. If I execute my .msi file using the following params: msiexec /i mymsi.msi REINSTALL=ALL REINSTALLMODE=vomus Is there a particular flag (ie: REINSTALL) that I can expect to be on? I'm trying to respond with:

[WiX-users] CustomizeDlg - "Location" text

2007-07-20 Thread Craig Ward
I'm experiencing a slight problem with the CustomizeDlg's "Location" control. When installing, this dlg correctly displays the target directory, and (again correctly) allows me to browse for a new path. However, once installed, if I re-run the installation program and select the Change option, then

[WiX-users] Searching text files

2007-07-19 Thread Craig Ward
I have a global property that I'd like to initialize to a value found within a line of text, in a text file. This file is close to an ini-file format, except that it doesn't have section headers, so I'm not sure that I can use IniFileSearch (the compiler keeps complaining about a null or missing se

[WiX-users] InstallExecuteSequence: checking mode

2007-07-17 Thread Craig Ward
I have an InstallExecuteSequence block, within which I currently run actions depending on whether the installation is installing or removing. I'd like to extend the installing condition to include the Change/Repair modes that are available in the maintenance dialog. I'm trying this but with no suc

[WiX-users] updating properties

2007-07-17 Thread Craig Ward
I'm trying to update a property from a PushButton. So, in my project file I have: MyDefaultValue , and in a dialog I have: 1 1 Unfortunately, this doesn't change the property from its default value. Any ideas?

[WiX-users] Shortcuts

2007-07-13 Thread Craig Ward
Is it possible to add a shortcut which is not for a file? I want to add a URL shortcut as part of an installation. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and t

[WiX-users] Conditions

2007-07-13 Thread Craig Ward
I'm try to check the file version of a required library as part of condition. I have code that looks like: AProduct AProduct >= 1.6 My first condition works ok (ie: the installation fails if the required product is not installed) but my second condition (which checks the version) d

[WiX-users] Removing Folders

2007-07-13 Thread Craig Ward
Is there a way to call RemoveFolder, and have it remove (and empty) all sub-folders? My uninstall is using RemoveFile/RemoveFolder on a folder (which contains files created after installation), but since some of the files are stored in sub-directories, the uninstall leaves the folder orphaned. --

[WiX-users] Using Property in File

2007-07-13 Thread Craig Ward
I'm trying to access a property in a file component. I have code that looks like this: ..\..\MyFolder , but when I try to compile, I get: "error LGHT0100 : File of type 'File' with name '[source.dir]\Main.exe' could not be found. What am I doing wrong???