Hi,
I have some difficult using VBscript in a custom action:
My CA is in the InstallInitialize sequence, is Synchronous, check return and immediate.
Here is a piece of the code:
ocmfile = "\\archives\diffusion\MGE_NMP406\InstallOCM.txt"
commande = "sysocmgr.exe /i:%windir%\inf\sysoc.inf /u:" & ocmfile & " /q /r"
Set proc = WshShell.exec(commande)
Do While proc.Status = 0
Wscript.Sleep 1
Loop
InstallIIS = IDOK
Exit Function
The error in the log is Erreur d'exécution Microsoft VBScript: Objet requis: 'Wscript' Line 100, Column 5
I read this topic
http://www.advancedinstaller.com/forums ... ht=wscript
but I wonder how can I use this Wscript property?
FOLLOW US
Get the latest news in Application Packaging