Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bundling applictions... #14

Open
addelovein opened this issue Jan 28, 2024 · 2 comments
Open

Bundling applictions... #14

addelovein opened this issue Jan 28, 2024 · 2 comments

Comments

@addelovein
Copy link

Is it possible... I have come so far as to set it up in parts and the installer copys the installation msi packages to the programfolder... However i want to be able to run theese installation packages aswell....

Thanks for an awesome scritpt...

@jpakkane
Copy link
Owner

That is not supported. Someone would need to find out what the WiX syntax for that is and then add it. I'm not sure if the basic widget sets provide for that.

@addelovein
Copy link
Author

<!-- Setup post install operations -->
<CustomAction Id="PostInstall"
              FileKey="key_to_post_install_exe"
              ExeCommand=""
              Execute="deferred"
              Return="check"
              Impersonate="no" />

<!-- Setup pre uninstall operations -->
<CustomAction Id="PreUninstall"
              FileKey="key_to_pre_uninstall_exe"
              ExeCommand=""
              Execute="deferred"
              Return="ignore"
              Impersonate="no" />

<!-- Add pre and post install operations to the installer -->
<InstallExecuteSequence>
  <Custom Action="PostInstall" Before="InstallFinalize">NOT Installed</Custom>
  <Custom Action="PreUninstall" After="InstallInitialize">Installed</Custom>
</InstallExecuteSequence>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants