Start application after installation

前端 未结 3 1884
小蘑菇
小蘑菇 2021-01-01 14:55

I\'ve googled around and found some topics like

http://wix.sourceforge.net/manual-wix3/run_program_after_install.htm

and

Launch application after in

相关标签:
3条回答
  • 2021-01-01 15:16

    What happens if you use

    ExeCommand="[SystemFolder]cmd.exe /C start MyExe.exe"
    
    0 讨论(0)
  • 2021-01-01 15:27

    I had the problem that it also tried to run at uninstallation.. This way it runs only on installation, reparation and updating (changing)

    <CustomAction Id="LaunchApp" Directory="INSTALLFOLDER" ExeCommand="[SystemFolder]cmd.exe /C start MyFile.exe" />
    
    <InstallExecuteSequence>
      <Custom Action="LaunchApp" After="InstallFinalize">NOT REMOVE</Custom>
    </InstallExecuteSequence>
    

    Information about NOT REMOVE could be found here: https://stackoverflow.com/a/17608049/9758687

    0 讨论(0)
  • 2021-01-01 15:29

    Set Return to asyncNoWait for your custom action. This way the custom action runs and the installer doesn't wait for it or check its return code.

    0 讨论(0)
提交回复
热议问题