Hi AI Support,
How do I include a temporary .EXE file in the install package (not installed, but in the .MSI) and execute it from a custom action VBScript?
What I am doing is running a VBScript which executes the .NET CLR GACUTIL.EXE utility to install some assemblys into the GAC. I want to execute the GACUTIL.EXE utility, but don't want to install it. I can't rely on the GACUTIL being in the .NET framework directory, and want to include it as part of my AI install package.
Note that I cannot use the Assembly functionality in AI, as I need to leave the assembly in the installed folder as well as in the GAC. This is a requirement of Visual Studio, in that the GAC copy is used when the application is running, and the installed copy is used by the VS IDE when designing an application that uses the assembly. The AI "Assembly Install" functionality removes the assembly from the install folder after it installs it into the GAC (ie move instead of a copy). I wish there was a flag in AI that controlled whether the assembly was moved or copied to the GAC from the install path - I requested this feature awhile back, but noone got back to me ...
Any ideas?
Thanks - Todd
FOLLOW US