Search code examples
wixwix3.5wix3wix3.6wixlib

Suppressing InstallDir UI during Upgrade on wix


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?


Solution

  • <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.