Replies: 1 comment
-
I still not found solution or docs related to issue above, and seem community here can't help, so i give up. Issue can be closed. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone, newbie here.
I need to write an installer and I’m running some tests, but I find the documentation a bit lacking. I’ve come across examples in Wix 3 that don’t compile in Wix 5.
Does anyone have a classic, complete example of a .wxs file for Wix 5?
I "just" need to copy files, create shortcuts, and run an .exe as elevated during installation and uninstallation.
Here’s two of unresolved issues I’m trying to figure out through trial and error due to the lack of documentation:
I have a utility .exe (copied during installation) that needs to be executed with "service=install" as arguments after the file copy during the installation. This works with
<Custom Action="RunMyExecutable" Before="InstallFinalize" />
However, I also need to call it with "service=uninstall" during uninstallation, before file deletion.
The syntax
<Custom Action="RunMyExecutable" Before="RemoveFiles">REMOVE="ALL"</Custom>
is not accepted by Wix 5.
Every time I compile from .wxs/.wixproj to .msi and test it, it creates a new entry in Windows > Settings > Apps > Installed Apps,
even though I have a GUID in UpgradeCode.
My test .wxs file:
Thanks for any feedback! I'm still learning, but maybe someone can give me a hand :P
Beta Was this translation helpful? Give feedback.
All reactions