Click here to Skip to main content
15,884,388 members
Articles / Programming Languages / C++/CLI

Bootstrapper for the VC++ 2005 Redists (with MSI 3.1)

Rate me:
Please Sign up or sign in to vote.
4.97/5 (67 votes)
24 Feb 200624 min read 546.8K   2K   159  
A discussion on deployment in Visual C++ 2005, and an amended version of the vcredist_x86.exe that includes MSI 3.1.
// Microsoft Visual C++ generated resource script.
//
#include "resource.h"

#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "windows.h"

/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS

/////////////////////////////////////////////////////////////////////////////
// English (U.S.) resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
#endif //_WIN32

/////////////////////////////////////////////////////////////////////////////
//
// Icon
//

IDI_ICON1 ICON app.ico 

/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//

IDD_DIALOG1 DIALOGEX 0, 0, 212, 90
STYLE DS_SETFONT | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "The following components are not installed..."
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
    LTEXT           "The following components need to be installed before continuing, please select the components you wish to install...",IDC_TITLE,2,2,208,20
	CONTROL         "Windows 2000 Service Pack 4",IDC_CHECK2K4,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,2,24,184,10
#ifndef EXCLUDE_IE6
	CONTROL         "Internet Explorer 6.0",IDC_CHECKIE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,2,35,184,10
#endif /* EXCLUDE_IE6 */
    CONTROL         "Windows Installer",IDC_CHECKMSI2,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,2,46,184,10
    CONTROL         "Windows Installer 3.1",IDC_CHECKMSI31,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,2,57,184,10
    DEFPUSHBUTTON   "&Install Missing Components...",IDOK,2,68,120,14
    PUSHBUTTON      "&Cancel",IDCANCEL,124,68,50,14
END

/////////////////////////////////////////////////////////////////////////////
//
// Exe Resources
//

//#ifndef EXCLUDE_IE6
//"Ie6setup.exe"                         REDIST "Ie6setup.exe"
//#endif /* EXCLUDE_IE6 */
//VCREDIST_NAME                          REDIST VCREDIST_NAME
//"InstMsiA.exe"                         REDIST "InstMsiA.exe"
//"SP4Express_En.exe"                    REDIST "SP4Express_En.exe"
//"WindowsInstaller-KB893803-v2-x86.exe" REDIST "WindowsInstaller-KB893803-v2-x86.exe"
//"VC80Test.dll"                         REDIST "VC80Test.dll"


#endif    // English (U.S.) resources
/////////////////////////////////////////////////////////////////////////////

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
United States United States
Mr. Shah is a reclusive C++/C# developer lurking somewhere in the depths of the city of London. He learnt physics at Kings' College London and obtained a Master in Science there. Having earned an MCAD, he teeters on the brink of transitioning from C++ to C#, unsure of which language to jump to. Fortunately, he also knows how to use .NET interop to merge code between the two languages (which means he won't have to make the choice anytime soon).

His interests (apart from programming) are walking, football (the real one!), philosophy, history, retro-gaming, strategy gaming, and any good game in general.

He maintains a website / blog / FAQ / junk at shexec32.serveftp.net, where he places the best answers he's written to the questions you've asked. If you can find him, maybe you can hire Mr. Shah to help you with anything C++[/CLI]/C#/.NET related Smile | :) .

Comments and Discussions