AnneTheAgile
Posts: 61
Joined: Wed Jun 08, 2011 9:53 pm

Vbscript for MSI use ; documentation? Wscript vs Cscript

hi! I wonder if you all know how to search for the documentation for the flavor of VB (cscript? wscript?) which is allowed by Windows installer? I continually find the commands discovered by google are not allowed, and it is very slow to debug.
thank you!
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: Vbscript for MSI use ; documentation? Wscript vs Cscript

Hello,

In this article you can find some information and examples about VBScript.

We also recommend you to use a DLL custom action written in C# or C++, instead of VBScript and you can see some reasons why not to use VBScript .

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
AnneTheAgile
Posts: 61
Joined: Wed Jun 08, 2011 9:53 pm

Re: Vbscript for MSI use ; documentation? Wscript vs Cscript

Thank you so much for this hint! Is a DLL custom action availalble to be rolled back/
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: Vbscript for MSI use ; documentation? Wscript vs Cscript

Hello,

Indeed, a custom action can be executed during installation rollback. In the custom actions properties there is an "Execution Time" grupBox and one of these options is "During installation rollback".

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
AnneTheAgile
Posts: 61
Joined: Wed Jun 08, 2011 9:53 pm

Re: Vbscript for MSI use ; documentation? Wscript vs Cscript

I'm moving my C# questions to a new topic so the subject line is clearer.

Return to “Common Problems”