To edit the settings file to reflect deployment locations - Open the file settings.ini in a text editor such as Notepad.
- Find the Msi=mySetup.msi entry and replace the default path with the path to your .msi file. For example, if mySetup.msi is located on the local computer in the same folder as Setup.exe, the path will be Msi=mySetup.msi. If mySetup.msi is located on a network share in a folder named myProjectFolder, an example of the path is Msi=\\myNetworkShare\myProjectFolder\mySetup.msi. If mySetup.msi is located in a folder named myInstallerFiles, on the same CD as Setup.exe, an example path is Msi=myInstallerFiles/mySetup.msi.
- Find the FxInstallerPath=c: entry and replace the default path with the correct path to the .NET Framework redistributable package, Dotnetfx.exe. For example, if Dotnetfx.exe is located on the local computer in a folder named myProjectFolder, the path will be FxInstallerPath=c:\myProjectFolder\. If Dotnetfx.exe is located on a network share in a folder named myProjectFolder, an example of the path might be FxInstallerPath=\\myNetworkShare\myProjectFolder\. If Dotnetfx.exe is located in a folder named myExecutables, on the same CD as Setup.exe, an example path is FxInstallerPath=myExecutables/.
- Save the settings.ini file.
The Setup.exe Bootstrapper sample performs a comparison between the build number of the .NET Framework installed on the target computer and the build number of the .NET Framework being hosted by the application to install. If there is not a matching build number, Setup.exe installs the version of the .NET Framework being hosted by the application. If you want Setup.exe to check for a build number and language version of the .NET Framework, you must specify the language to check for in the
settings.ini file. If you do not specify a language for the LanguageDirectory variable, Setup.exe checks for the English language version by default.
The following table lists the available language versions and the culture name to specify in the
settings.ini file.
LanguageCulture name
Chinese (Simplified) | CHS |
Chinese (Traditional) | CHT |
French | fr |
German | de |
Italian | it |
Japanese | ja |
Korean | ko |
Spanish | es |
To edit the settings file to check for a language version - Open the file settings.ini in a text editor such as Notepad.
- Find the 'LanguageDirectory= entry. Uncomment the entry and specify the correct language version to check for. For example, if you want Setup.exe to check for the French language version of the .NET Framework, specify LanguageDirectory=fr.
- Save the settings.ini file.
Installing Localized Versions of Dotnetfx.exe
Dotnetfx.exe has been localized into eight languages. For a complete list of available languages, see the table in the previous section. You can download the localized versions of Dotnetfx.exe from the Download Center or the Microsoft Windows Update Web site.
When installing the .NET Framework redistributable package, Dotnetfx.exe, on a computer running the Windows® 98 operating system, you must install the localized version of Dotnetfx.exe that corresponds to the localized version of Windows 98 running on the computer. For example, you must install the German version of Dotnetfx.exe on a computer running the German version of Windows 98. This limitation only applies to Windows 98. You can i