See:
windows installer using wixtool set
I am building installer using wixtool can anyone tell me how to run powershell script in wixtool set ? I am not able to run that
Windows for business | Windows Client for IT Pros | User experience | Other
Developer technologies | .NET | Other
2 answers
Sort by: Most helpful
-
-
Limitless Technology 44,766 Reputation points
2022-11-23T16:16:19.983+00:00 Hi. Thank you for your question and reaching out.
Installers are created using WiX. This tool is built within Visual Studio and can be used for automatic deployment or any build process. No matter how wonderful your product is, you will have lower customer satisfaction and higher deployment costs if your release/distribution process is subpar.
This is a straightforward example of a WiX installer that copies all chosen files to a specified folder before running a straightforward power shell script. A second script is then run after uninstalling.
The first thing needed is a straightforward console application for our next software project. The two power shell scripts are included in this deployment for simplicity's sake. An easy harvest is used to deploy the project. Using a custom action, the power shell script is used.
For more information, please see https://damienbod.com/2013/09/01/wix-installer-with-powershell-scripts/
------------------------------------------------------------------------------------------------------------------
If the reply was helpful, please don’t forget to upvote or accept as answer, thank you.