.EXE that only runs a vbscript without installing anything. Possible? - Advanced Installer Community
CristianYNK
Posts: 5
Joined: Fri Feb 17, 2017 6:56 pm

.EXE that only runs a vbscript without installing anything. Possible?

Good afternoon,

I recall being able to generate an executable file with Wise Script Editor that only ran a vbscript or a powershell script, without installing anything else; now that we are evaluating Advanced Installer Enterprise, I would like to know exactly that: Is there a way to generate an executable file that only runs a vbscript or powershell script without "installing" any products/apps? I have tried a custom inline script action, but even though the script runs, I end up with an "installed" application and registered over at Programs and Features.

To recap:

1) Grab vbscript or powershell script.
2) Wrap it in an exe file through Advanced installer and Build it.
3) Run the executable which only executes that script and exits.

Thanks in advance,
Cristian
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: .EXE that only runs a vbscript without installing anything. Possible?

Hi Cristian,

Yes, in order to achieve this, you can add your VBS code in an "Execute inline script" custom action, then uncheck the "Register product with Windows Installer" option from the "Product Details" page and do not add any file in the "Files and Folders" page.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”