package can only be run from a bootstrapper - Advanced Installer Community
psf
Posts: 43
Joined: Wed Jun 04, 2014 11:00 am

package can only be run from a bootstrapper

I have created a setup package using AI 11.4.1, but am getting a problem I think during a custom action, which generates a "error 1001 instalutillib.dll: CorBindToRuntimeHost. error x80070003 The system cannot find the path specified".
I though I'd try and generate an installer log file to see if that showed up what was wrong. However when I try and run "msiexec /I mysetup.msi" the installer puts up a message box "This package can only be run fro a bootstrapper."
I can't see what option in the setup is different from those in other setups I've created using Advanced Installer, which haven't had this problem.
Have you got any suggestions?
Thanks,
Paul Farrington
psf
Posts: 43
Joined: Wed Jun 04, 2014 11:00 am

Re: package can only be run from a bootstrapper

well, defining SETUPEXEDIR property in the Install Parameter page got round the issue with the bootstrapper
(as discovered in this thread: http://198.154.230.79/forums/viewtopic.php?f=5&t=28884 )

however, I am still getting the Error 1001. InstallUtilLib.dll:CorBindToRuntimeHost issue.
psf
Posts: 43
Joined: Wed Jun 04, 2014 11:00 am

Re: package can only be run from a bootstrapper

I've got past this issue now. I think the cause was my misspelling of VSDFxConfigFile in the SetProperty custom action you need to have in order to be able to invoke .Net custom actions. (I'd got the case wrong for some of the letters).
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: package can only be run from a bootstrapper

Hello Paul,

I'm glad you sorted things out.

Please note that it is note recommended to launch the MSI file when you build an EXE setup package. The EXE bootstrapper has extended functionality which is not available when running the MSI. Please take a look on our "Create a log" article to check how you can generate a log when using an EXE setup.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”