We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

supertrio17
Posts: 24
Joined: Mon May 04, 2020 7:06 pm

Why do I receive the "This package can only be run from a bootstrapper" message?

Now, I fixed that problem from last post, but now whit everything working I get this message.

"This package can only be run from a bootstrapper"

Can anyone help?
supertrio17
Posts: 24
Joined: Mon May 04, 2020 7:06 pm

Re: Why do I receive the "This package can only be run from a bootstrapper" message?

I got this message from my log

Code: Select all

[SEH_AV_READ_NULLPTR] ACCESS_VIOLATION (0xc0000005) at address [0x005623e2]

Advanced Installer 16.5 build 8df7ad95
*** Stack Trace (x86) ***

[0x005623e2]  -----
[0x00565cb0]  -----
[0x0055a72a]  -----
[0x0054731a]  -----
[0x00546b77]  -----
[0x00522667]  -----
[0x71471836]  -----
[0x7677444b]  AddClipboardFormatListener()
[0x76754f8c]  CallWindowProcW()
[0x767544df]  CallWindowProcW()
[0x6b48b37b]  DllGetClassObject()
[0x714718d6]  -----
[0x7677444b]  AddClipboardFormatListener()
[0x76754f8c]  CallWindowProcW()
[0x767540de]  DispatchMessageW()
[0x76753ec0]  DispatchMessageW()
[0x0052441a]  -----
[0x007329e5]  -----
[0x00350000]  MODULE_BASE_ADDRESS
Catalin
Posts: 7853
Joined: Wed Jun 13, 2018 7:49 am

Re: Why do I receive the "This package can only be run from a bootstrapper" message?

Hello,

Are you building an EXE setup with resources next to it? If so, are you trying to launch the MSI that is located next to your EXE?

This message is displayed by a launch condition that is automatically added at build-time in the EXE packages that are created with Advanced Installer 11.3 and later. It was added in order to prevent the incorrectly drawn User Interface that could be displayed when an MSI package was launched outside its related EXE setup file.

To bypass this error, you can just set the SETUPEXEDIR property with any value e.g. 1. in the Properties view from the left view of Advanced Installer.
SERUPEXEDIR.PNG
SERUPEXEDIR.PNG (57.9 KiB) Viewed 6545 times

In what regards the stack trace error, could you please give me some more details about that? Are you encountering that error when you are trying to build your patch project?

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
supertrio17
Posts: 24
Joined: Mon May 04, 2020 7:06 pm

Re: Why do I receive the "This package can only be run from a bootstrapper" message?

Catalin wrote: ↑Mon May 11, 2020 11:32 am Hello,

Are you building an EXE setup with resources next to it? If so, are you trying to launch the MSI that is located next to your EXE?

This message is displayed by a launch condition that is automatically added at build-time in the EXE packages that are created with Advanced Installer 11.3 and later. It was added in order to prevent the incorrectly drawn User Interface that could be displayed when an MSI package was launched outside its related EXE setup file.

In what regards the stack trace error, could you please give me some more details about that? Are you encountering that error when you are trying to build your patch project?

Best regards,
Catalin
Sorry I'm late on this, I'm running exe with resources in it, I extracted msi from exe, and when I build my patch thats what I get.

For some reason I figured there is too many bugs in my project, so I started over. And it worked. I do not understad, I did everything like in previous project, but this time it worked. Do you know why that is?
Catalin
Posts: 7853
Joined: Wed Jun 13, 2018 7:49 am

Re: Why do I receive the "This package can only be run from a bootstrapper" message?

Hello,

Thank you for your followup on this.

I am glad everything works as expected now.
Do you know why that is?
Unfortunately, I can not say for sure why that happened.

Please let me know if there is anything else I could help you with.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”