[WiX-users] minor upgrade: reinstall flag?
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: Custom Action=MyAction After=InstallFinalize Reinstall /Custom , but my action is not being invoked. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] CustomizeDlg - Location text
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 the dlg displays the original/default target directory, and not the actual directory used for installation. Within CustomizeDlg, there's text: Control Id=Location Type=Text X=90 Y=210 Width=210 Height=20 Text=$(loc.CustomizeDlgLocation) Subscribe Event=SelectionPath Attribute=Text / Subscribe Event=SelectionPathOn Attribute=Visible / Condition Action=hideInstalled/Condition /Control - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Searching text files
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 section header). Also, are there any methods to parse/split strings? I have a line such as: naming.provider.url=xxx://127.0.0.1:1099 , where I want to be able to retrieve the text 127.0.0.1. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] updating properties
I'm trying to update a property from a PushButton. So, in my project file I have: Property Id=MyProperty MyDefaultValue /Property , and in a dialog I have: Control Id=MyEdit Type=Edit X=45 Y=85 Width=220 Height=18 Property=TXT.VALUE Text={80} / Control Id=Next Type=PushButton X=236 Y=243 Width=56 Height=17 Default=yes Text=amp;Next Publish Property=MyProperty Value=[TXT.VALUE]1/Publish Publish Event=NewDialog Value=[WixUI_MyDlg_Next]1/Publish /Control Unfortunately, this doesn't change the property from its default value. Any ideas? - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] InstallExecuteSequence: checking mode
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 success: InstallExecuteSequence Custom Action=MyCleanup After=InstallInitialize Installed AND REMOVE /Custom Custom Action=MySetup After=InstallFinalize NOT Installed OR ([WixUI_Mode] = Change) OR ([WixUI_Mode] = Repair) /Custom /InstallExecuteSequence Any ideas? - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Removing Folders
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. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Using Property in File
I'm trying to access a property in a file component. I have code that looks like this: Property Id=source.dir ..\..\MyFolder /Property Directory Id='Target.Bin' Name='Bin' Component Id='Exe' Guid='my guid' File Id='Main.exe' Name='Main.exe' Source='[source.dir]\Main.exe DiskId='1' Vital='yes' , 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??? - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Conditions
I'm try to check the file version of a required library as part of condition. I have code that looks like: Property Id=AProduct RegistrySearch Id='AProduct.Registry' Type='raw' Root='HKLM' Key='SOFTWARE\SomeCompany\SomeProduct' Name='CurrentVersion' / /Property Condition Message=This program requires SomeProduct AProduct /Condition Condition Message=This program requires version 1.6 or above of SomeProduct AProduct = 1.6 /Condition My first condition works ok (ie: the installation fails if the required product is not installed) but my second condition (which checks the version) doesn't fail when I expect it to. What am I doing wrong??? - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Shortcuts
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 take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users