mirsad
Posts: 2
Joined: Wed Nov 02, 2005 12:48 am

VBS does not run as custom action

Hi!


When I run a VBS as custom action it does not work with "Limit to basic user interface" checked. Actually it does not run even if I uncheck it .
But it runs if I launch it from the "installation complete" dialog.

The VBS simply starts a Office install command file.
The VBS it self works.

Any ideas?

Regards
Mirsad
ciprian
Posts: 259
Joined: Thu Jul 14, 2005 12:56 pm
Location: Craiova, Romania
Contact: Website

Hi Mirsad,

Could you please give us more details about the error you are encountering?

What does the error message states?

The problem could reside in the fact that you are trying to launch another MSI during the installation of the first one. If this is the case you could add Office as a prerequisite for your package and there would be no more problems.

For more information on prerequisites please visit:
http://www.advancedinstaller.com/user-g ... sites.html

Best regards,
Ciprian
Ciprian Burca
Advanced Installer Team
http://www.advancedinstaller.com
mirsad
Posts: 2
Joined: Wed Nov 02, 2005 12:48 am

Hi there!

The problem is that there is no error message,
the custom action simply does not execute as a VBS.
But if I compile it and run it as an .exe it works.
The .VBS also works if I launch it from the "installation complete" dialog.

The problem is that I don't want an installation dialog, I
want a silent install of the .MSI that runs a .VBS that
launches a OfficeXP-installation.

Here is what I do:
In Advanced Installer --> Custom Actions
Under InstallExecuteSequence --> under Begin
I add Launch File or open URL
In source path, I choose the path to the VBS
In source type, I choose .VBS
and I leave the field "Function name" blank

Is this correct?

Regards
Mirsad
ciprian
Posts: 259
Joined: Thu Jul 14, 2005 12:56 pm
Location: Craiova, Romania
Contact: Website

Hi Mirsad,

The problem may reside in the fact that the custom action is not set correctly.

Try using a "New Attached Custom Action" type of custom action instead. Select as target your script file.

For more details on custom actions please visit:
http://www.advancedinstaller.com/user-g ... -page.html

However, you can still get an error message because you are trying to run two MSI files simultaneous.

All the best,
Ciprian
Ciprian Burca
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”