Loading
Microsoft Visual C++ 2008 Redistributable Package
Hi

 

Using a basic MSI project, I have created a Setup Prerequisite for Microsoft Visual C++ 2008 Redistributable.

 

My installer displays the following prerequisites:

 

.NET 3

 

.NET3.5

 

Microsoft Visual C++ 2008 Redistributable Package

 

SQL 2005 EXPRESS

 

JAVA

 

ADOBE

 

All in the sequence above.

 

My installer installs .NET 3.5 and .NET 3. BUT when it comes to installing Microsoft Visual C++ 2008 Redistributable Package, my installer reboots the machine. And after the reboot it does not restart the process from where it left of, from Microsoft Visual C++ 2008 Redistributable. It skips that prerequisite and begins to install the rest of the prerequisites (sql express, Java, adobe)...

 

I have windows installer 4 so this should be Ok...

 

Can anyone help please? How do I install Microsoft Visual C++ 2008 Redistributable Package?

  • Too add to this, I have set the properties for the prerequisite Behavious (in the behaviour tab) as follows:-

     

    At the fisrt drop down selection I selected, Continue the setup

     

    At the second dropdown selection I selected, Exit and Resume on Reboot.

     

    So if after installing the previous prerequisites, the installer should not reboot, so I have eliminated this possibility by setting these above.
    Expand Post
  • In the Application to Run Tab of the Edit window of the Setup prerequisite

     

    Set the commanline with /q /norestart

     

    This will suppress the reboot.

     

    You can also try doing a final reboot at the end of the install of the application.
    Expand Post

Loading
Microsoft Visual C++ 2008 Redistributable Package