Indigo Rose Software

Go Back   Indigo Rose Software Forums > MSI Factory 2.0 > MSI Factory 2.0 Examples & Modules

Reply
 
Thread Tools Display Modes
  #1  
Old 09-04-2008
venky venky is offline
Forum Member
 
Join Date: Aug 2008
Posts: 30
Dependency Module: Visual C++ 2008 Redistributable Package

Overview
Use the Visual C++ 2008 dependency module with MSI Factory 2.0 to detect and install Visual C++ 2008 redistributable package.

Background Information
The Microsoft Visual C++ 2008 Redistributable Package installs runtime components of Visual C++ Libraries required to run applications developed with Visual C++ on a computer that does not have Visual C++ 2008 installed. This package installs runtime components of C Runtime (CRT), Standard C++, ATL, MFC, OpenMP and MSDIA libraries. For libraries that support side-by-side deployment model (CRT, SCL, ATL, MFC, OpenMP) they are installed into the native assembly cache, also called WinSxS folder, on versions of Windows operating system that support side-by-side assemblies. The Visual C++ 2008 redistributable installation package is available as a stand-alone executable file, vcredist_x86.exe (x86 systems) and vcredist_x64 (x64 systems). When this dependency module is included in your setup, it installs Visual C++ 2008 redistributable package if needed.

Installation Instructions
To make Visual C++ 2008 dependency module available in your MSI Factory 2.0 projects, follow the steps below:
1. Close MSI Factory 2.0, if it is running.
2. Browse to the folder where MSI Factory 2.0 is installed on your system. By default it is C:\Program Files\MSI Factory (on Windows Vista (64-bit) it is C:\Program Files (x86)\MSI Factory).
3. Open the folder called Dependencies.
4. Unzip the contents of VC++2008.zip (see bottom of article) into the dependencies folder.
5. Download the Visual C++ 2008 redistributable x86 (vcredist_x86.exe) into the VC++2008_Include subfolder.
6. Download the Visual C++ 2008 redistributable x64 (vcredist_x64.exe) into the VC++2008_Include subfolder.
7. Restart MSI Factory 2.0.
To use your new dependency module, select Build > Settings from the main menu. Select standard bootstrapper option and click the Edit button. Click dependencies tab and click Add button. Select Visual C++ 2008 dependency module from the list of available dependency modules. Visual C++ 2008 should now be visible in the dependency modules section. You can edit or customize the configuration of the dependency module in the configuration section.

Information Links
More Information on Visual C++ 2008 redistributable x86
More Information on Visual C++ 2008 redistributable x64


Module Name: Visual C++ 2008 Redistributable
Type: MSI Factory 2.0 Dependency Module
Created By: kumar (8/1/2008)
Last Revision: August 1, 2008 (001)
Disclaimer: This dependency module is not officially supported by Indigo Rose. If you have any issues or feedback please contact me or post in the forum.
Attached Files
File Type: zip VC++2008.zip (13.9 KB, 87 views)
Reply With Quote
  #2  
Old 11-17-2008
kk250040's Avatar
kk250040 kk250040 is offline
Forum Member
 
Join Date: Feb 2008
Posts: 81
Is it possible for me to use the same dependency module in SetUp Factory

Can we use this dependency module in the Setup Factory? Are the steps same for that too, can i include this without any changes made or would it require any changes for it to be used in SetUpFactory 7
Reply With Quote
  #3  
Old 02-02-2009
ctw ctw is offline
Indigo Rose Customer
 
Join Date: Feb 2009
Posts: 3
Cool Correct Redistributable Package

Microsoft seems to have created two versions of the redist package. You will need to use "Microsoft Visual C++ 2008 SP1 Redistributable Package" in order to use the new feature pack. The exe name is still vcredist_x86.exe but it is a much larger install.
Reply With Quote
  #4  
Old 02-20-2009
SetupJuggler SetupJuggler is offline
Indigo Rose Customer
 
Join Date: Nov 2008
Location: Göttingen, Germany
Posts: 62
Wink New path/version to check whether SP1 is installed

Hi,

to detect for SP1, you now should use:

Code:
snip...
searchFolder = _WindowsFolder.."\\winsxs\\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e";
snip...

-- Compare the returned value against the needed value
Compare = String.CompareFileVersions(VCppDll_ver.FileVersion, "9.0.30729.1");
snip...
BTW, SP1 might not be the last service pack released. So it would be a good idea to have a new function named isVCpp2008_SP1_Runtime_Installed(), so it's easier to switch between service packs.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dependency Module: Visual Basic 6 SP6 venky MSI Factory 2.0 Examples & Modules 2 12-01-2008 04:54 PM
Dependency Module: Microsoft Report Viewer 2008 venky MSI Factory 2.0 Examples & Modules 0 09-04-2008 07:59 PM
Frequently Asked Questions Ted Sullivan Visual Patch 2.0 0 04-08-2005 03:49 PM
Dependency Module: Visual Basic 6.0 (SP6) Darryl Setup Factory 8.0 Examples 0 09-02-2004 12:48 PM
Dependency Module: Visual Basic 5.0 (SP3) Darryl Setup Factory 8.0 Examples 0 09-02-2004 10:58 AM


All times are GMT -6. The time now is 05:26 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software