i am trying to repackage adobe captivate 7.0 on windows 7 64 bit machine. i want it to be silent install so that none of my customers have to do anyhting. when i run the setup on 64 bit machine it prompts to close windows explorer and if i close it continues the setup. however i want to automate this. i am using vbscript as final deliverable. through script i am closing the windows explorer. however setup terminates immediately and it fails to continue. i want to have final deliverable as vbs only. i cannot start explorer immediately as it kills everything. any thoughts from people here. my script is

If IS64BIT = 1 Then
 objShell.Run "C:\Windows\System32\taskkill.exe /F /T /IM explorer.exe", 1, True
 objShell.Run "MsiExec.exe /i """ & sCurrentDirectory & "BIN64\Adobe_Captivate_7.0_x64.msi"" Transforms="""& sCurrentDirectory &"BIN64\Adobe_Captivate_7.0_x64.mst"" /QR", 0, True
 objShell.Run "explorer.exe"

4 Comments   [ + ] Show Comments

Comments

  • i tried this and it does not work. the issue is first i kill explorer.exe and it closes everything. it does not go to next line to check for /qb or /qr.
  • Killing Explorer is right up there amongst the pantheon of Really Bad Ideas.

    Use ProcMon to find out *why* Windows Installer wants to kill it - it's probably holding open a system file that Captivate wants to replace (another RBI) - and engineer your package accordingly.
  • Bizarrely, I just stumbled on the package for Captivate on one of my client's servers.

    I can see that it installs a bunch of Visual C++ runtimes: 8.0.50727.6195, 9.0.30729.6161 and 10.0.40219.325. Try installing these outside of the Captivate package first and see how that pans out.
  • thank much for your suggestions... i will check
Please log in to comment

Answers

1

Try /QB 

Answered 03/18/2014 by: rileyz
Red Belt

  • i tried this and it does not work. the issue is first i kill explorer.exe and it closes everything. it does not go to next line to check for /qb or /qr
Please log in to comment
Answer this question or Comment on this question for clarity