Hi All, I created an MSI with two dialogs. 1. InstallDirdlg.wxs 2. ProgressDlg.wxs
In *.wxs file i have used some custom actions to install the files. In InstallExecuteSequence, <InstallExecuteSequence> <Custom Action="InstallApp" After="InstallFiles">NOT REMOVE ~= "ALL"</Custom> <Custom Action="UnInstallApp" Before="InstallFinalize">REMOVE = "ALL"</Custom> </InstallExecuteSequence> using the above custom actions, I was able to run MSI package for multiple times. So, first time i ran the MSI package and then installed on the selected location using 'Change' button in 'InstallDirDlg.wxs'. (Ex: C:\Program Files\MyAPP) Next time when i ran the MSI package, it was copying in the same location even i changed the path to another location. (Ex: D:\Sample\MyApp) I have set the property as shown below: <Property Id="WIXUI_INSTALLDIR" Value="INSTALLDIR" /> Also, <Property Id="INSTALLDIR" Value="C:\temp\MyAPP" /> (hard coded this path) In Dialog.wxs, <Publish Dialog="MyInstallDirDlg" Control="Next" Event="SetTargetPath" Value="[WIXUI_INSTALLDIR]" Order="1">1</Publish> Can anyone help me how to reset the INSTALLDIR path by changing the path using 'Change' button. Thanks in advance. ------------------------------------------------------------------------------ BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users