Hello all.
I'm a beginner in MSI authoring and repackaging so bear with me. 😃
This is my scenario: I've written a piece of code in vbs and I'm calling wscript.exe to run it during the MSI installation. The problem however is that I do not know how to incorporate the vbs-file inside the MSI and call it before the files are installed.
The vbs runs a 3rd commandline remover for the application I've repackaged.
I have learned that creating a custom action and giving the vbs-filename as a paremeter to wscript.exe leads to wscript.exe searching the vbs in the MSI's current directory.
How can I stick the vbs inside the MSI and run it before the files are installed to the destination pc?
Many thanks in advance,
-m-