I am trying to run an executable VBscript (.EXE) after all the files are placed on the target machine. the installer that is being used is made in Visual Studio 2013 with the WIX toolset. I tried a couple of examples from different sources like technet and this website. However none could help me since a lot of those articles/post are from around 2008 and don't seem to apply anymore.
currently I am using this piece of code to try to archieve my goal:
<Fragment>
<CustomAction
Id="RunInstallScript"
Directory="INSTALLFOLDER"
ExeCommand="[INSTALLFOLDER]Installation script.exe"
Execute="commit"
Return="ignore"
/>
<InstallExecuteSequence>
<Custom Action="RunInstallScript" Before="InstallFinalize" />
</InstallExecuteSequence>
</Fragment>
Even though the compiler doesn't see any errors and compiles just fine the code isn't working. The file that needs to be executed is placed in the installation folder, so the file is present. The only thing left is to execute it once during installation and/or De-installation.
I have searched for information for a long time in order to figure it out, bud i just can't get it working the way I would like it. if this problem is solved I will finaly have a fully functioning installer that I can deploy to streamline the setup of control panels.
all help and suggestions are welcome.
thanks in advance,