Click here to Skip to main content
12,500,937 members (52,380 online)
Click here to Skip to main content

Stats

21.7K views
139 downloads
13 bookmarked
Posted

Creating a Localized Windows Installer & Bootstrapper: Part 2

, 25 Feb 2013 CPOL
This series of articles is a complete end-to-end solution for building a localizable Windows Installer & Bootstrapper using some real-world requirements.
installer
binary
Banner.bmp
Dialog.bmp
EULA_en-gb.rtf
EULA_it-it.rtf
bootstrapper
banner.bmp
Component.wxs
Config.wxi
en-GB.wxl
Installer.suo
it-IT.wxl
Main.wxs
targetfiles
MyApp.suo
tools
MsiIntel.SDK
build
MyApp.Installer.build
Banner.bmp
Dialog.bmp
EULA_en-gb.rtf
EULA_it-it.rtf
banner.bmp
dotNetFx40_Client_setup.exe
Component.wxs
Config.wxi
en-GB.wxl
Installer.suo
it-IT.wxl
Main.wxs
MyApp.suo
MyApp
bin
Release
MyApp.exe
MyAppLibrary.dll
MyApp.Installer.build
Prerequisites.exe
Option Explicit

Function Main()
    Session.Property("WMI_Manufacturer") = GetManufacturerName()
End Function

Function GetManufacturerName()

	Dim WMIService, Computer, Computers, Manufacturer

	Set WMIService = GetObject("winmgmts:\\.\root\cimv2") 
	Set Computers = WMIService.ExecQuery("Select * from Win32_ComputerSystem")

	For Each Computer in Computers
		Manufacturer = LCase(Computer.Manufacturer)
	Next

        GetManufacturerName = Manufacturer
End Function

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, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

TheCodeKing
Architect
United Kingdom United Kingdom
Mike Carlisle - Technical Architect with over 20 years experience in a wide range of technologies.

@TheCodeKing

You may also be interested in...

Pro
Pro
| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160919.1 | Last Updated 25 Feb 2013
Article Copyright 2010 by TheCodeKing
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid