URL for prereq not working - Advanced Installer Community

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!

andersent
Posts: 7
Joined: Sun Sep 12, 2010 3:52 am

URL for prereq not working

When i put in a url for the prereq it successfully downloads it when i go to install it but when it tries to run the exe that is in the folder it cannot. it throws an error saying [temp path]\{guid} is not a valid win32 application. The problem appears to be that this is not looking for the file name of the app after it downloads it but is trying to run the folder name as the file name. I suspect that my issue is that I need to do something with the "Folder" property underneath the url location in the prereq setup screen. Even after reading the documenation though it is not clear to me what folder name I would put in there though. I assume I would put in a folder name and then ?myfile.exe. But i don't really understand how I know what folder to specify since it will just download this to a temp location and that location may be determined by the OS and not by my installer.

Also, the users will want to push this out silently. This is a setup.exe file b/c it has prereqs. The prereq mentioned above is for .net 2.0 framework which 99% of users will have. But if it does detect it needs it, when it downloads from the url above, is there something I have to do in the installer to make this part of the install silent? i.e. if they call the setup.exe with a silent or quiet switch, will that switch hold true for suppressing any ui on the prereq download (and subsequent install) mentioned above? Or do I need to put in a silent switch in the command line property of the main prereq setup area? If they are running a ui and not calling the whole setup.exe silently then I would want them to see the ui for the prereq being downloaded and installed so I don't think I want to tell it to always have a silent switch. I just want to know that if they call the whole setup.exe package with a silent or quiet switch that it will suppress the prereq download (from url) and install. And if so, what would be the correct switch to use against the kind of setup.exe that Adv Installer generates?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: URL for prereq not working

Hi,
I assume I would put in a folder name and then ?myfile.exe. But i don't really understand how I know what folder to specify since it will just download this to a temp location and that location may be determined by the OS and not by my installer.
Yes, this is the solution. The folder name doesn't really matter because it's relative to the prerequisite download location. You specify just a folder name, not its entire path.
But if it does detect it needs it, when it downloads from the url above, is there something I have to do in the installer to make this part of the install silent?
You can try setting the prerequisite command line to:

Code: Select all

/Q
if they call the setup.exe with a silent or quiet switch, will that switch hold true for suppressing any ui on the prereq download (and subsequent install) mentioned above?
A bootstrapper command line option affects only the bootstrapper UI, it doesn't affect a prerequisite installation.
If they are running a ui and not calling the whole setup.exe silently then I would want them to see the ui for the prereq being downloaded and installed so I don't think I want to tell it to always have a silent switch.
I'm afraid that this is not possible. The prerequisite installation is either silent or with full UI. This cannot be controlled by the bootstrapper because the command line option which makes the prerequisite silent is specific to the prerequisite (it's not the same for all prerequisites).

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”