Is there a way to download a prerequisite and not run it? - 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!

gallyjh
Posts: 27
Joined: Tue Dec 20, 2011 5:01 pm

Is there a way to download a prerequisite and not run it?

So I have an unique scenario where I require Windows Support tools to exist on the machine. This requires me to download two packages from Microsofts website:

http://download.microsoft.com/download/ ... upport.cab
http://download.microsoft.com/download/ ... ptools.msi

I don't know why Microsoft decided to separate the package, but the MSI requires the cab to be in place in order for it to run. My problem is that after the downloading of the CAB, it get's opened because it is ran. I would like to suppress the opening of the CAB so it doesn't ruin the user's experience. There apparently isn't a parameter I can throw in that will do this. Is there a way I can tell Advanced Installer to just not run the CAB?

Thanks in advance!
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Is there a way to download a prerequisite and not run it

Hello and welcome to Advanced Installer forums,

There are two approaches you can try:
1. You can have a self-extracting EXE archive that contain the MSI and CAB file. The same EXE can launch the MSI after extraction.
http://technet.microsoft.com/en-us/libr ... 46760.aspx
You can place this EXE on your own server and use a URL location for the prerequisite instead.

2. You can use "File in Package" location prerequisite and add the CAB as an additional file:
http://www.advancedinstaller.com/user-g ... files.html

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
gallyjh
Posts: 27
Joined: Tue Dec 20, 2011 5:01 pm

Re: Is there a way to download a prerequisite and not run it

Hi Mihai,

Thank you for the reply. Unfortunately we are limited on space on our servers and bandwidth. We are also trying to keep the installer as small as possible. So both won't work for us (I did think about that as well, and I should have mentioned those weren't options for us). In any case, is there a way to make a feature request to add a check box to the "Prerequisite" line item to "Do not run after download"?

Thanks.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Is there a way to download a prerequisite and not run it

Hello,

This improvement was already on our TODO list. I just increased its priority and hopefully it will be included in a soon release.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”