frjames
Posts: 27
Joined: Wed Apr 18, 2012 8:40 pm

Predefined Prerequisites

One of my prereqs is Visual C++ 2008 SP1 Redistributable. On a clean server 2008 environment, this will initiate its install and it runs successfully. When I uninstall my program as well as C++ from programs & features, when I run my installer, the prereq doesn't fire. Attached are my options. How can I get it to install C++ every time if it's not installed?

Thanks,
James
Attachments
prereq.jpg
prereq.jpg (72.24 KiB) Viewed 6337 times
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Predefined Prerequisites

Hello James,

I've tested your scenario, but I cannot reproduce the behavior. Can you reproduce this behavior on multiple clean machines? If so, can you please send us the .AIP (project file) and a verbose log of the installation to support at advancedinstaller dot com so we can investigate them?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
frjames
Posts: 27
Joined: Wed Apr 18, 2012 8:40 pm

Re: Predefined Prerequisites

Your support team suggested I include everything into an exe as I'm using the enhanced installer - and I can't get that to run w/ your msiexec /i "C:\MyPackage\Example.msi" /L*V "C:\log\example.log" command example. Does it have to be an msi?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Predefined Prerequisites

Hello James,

Please keep in mind that when your package installation is included in an EXE bootstrapper the command line no longer uses "msiexec". So, if you want to create a verbose log of the installation for an EXE file created with our bootstrapper, then the command line should have this form:

Code: Select all

<path_to_exe> /L*V <path_to_log>

For example, the command line can look like this:

Code: Select all

"C:\MyPackage\Setup.exe" /L*V "C:\log\example.log"

Let us know if this helps, otherwise give us more details about your scenario.

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

Return to “Building Installers”