Microsoft
Software
Hardware
Network
Question : Call SOURCEDIR executable from embedded VBScript custom action
Hi,
I need a VBScript for a Wise Package Studio embedded vbscript custom action. I need it to launch an executable located in the [SOURCEDIR} folder. The exe is located in the same folder as the MSI.
Thanks.
Answer : Call SOURCEDIR executable from embedded VBScript custom action
Can you try this:
strFileName=Session.Proper
ty("SOURCE
DIR") & "MyExe.exe"
Set objShell = CreateObject("WScript.Shel
l")
objShell.Run strFileName, 1, True
Regards,
Rob.
Random Solutions
Looping through Emails in an Outlook folder using For next loop in C#.net
C# random number question
Datatype mismatch error in sql code
In workbench: manage connection error to local socket/pipe
Import/Export feature of SQL 2000 in SQL Express 2005
Pricing for Upgrading Windows Server 2003 to Windows Server 2008
Date variable from another workbook, set as variable - VBA
Copy database wizard and have this as schedule
MySQL Three Table Join Query