Hi
I have to execute an exe in the published events of a push button. The exe file I have kept in the same folder where the setup resides. I have created a custom action with the following vbscript to execute the exe .
appSite=Session.Property("APP_SITE")
appName=Session.Property("APP_NAME")
setupDir=Session.Property("SETUPEXEDIR")
args = protocol+"://"+ appSite+ "/" + appName
batch = setupDir + "AppServiceTester.exe "+ Chr(34) & args & Chr(34)
Set objWshShell = CreateObject("Wscript.Shell")
But the installation is failing if the value of SETUPEXEDIR contains a blank space . eg(C:\My App\Setup\AppServiceTester.exe) .
Could you please update me how to resolve this issue?