Suppressing InstallDir UI during Upgrade on wix
Frage
I want to suppress the InstallDir UI for upgrade scenario. I will get previously installed path from registry and i just want to suppress the this UI.
Is there any way to do this?
Lösung 2
<Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="VerifyReadyDlg">Installed OR APPLICATIONROOTDIRECTORY</Publish>
....
....
....
<Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="WelcomeDlg" Order="2">Installed OR APPLICATIONROOTDIRECTORY</Publish>
Add this code to the custom UI.
Andere Tipps
You can use a RegistrySearch Element to retrieve the path from the registry. If it is loaded correctly you can use the search property to condition the dialog display. Here is a similar theread
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow