Using Visual Studio. NET to redistribute the. Net

Source: Internet
Author: User
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 are located on the local computer in the same folder as Setup.exe, the path would be Msi=mysetup . msi. If Mysetup.msi is located on a network share into a folder named Myprojectfolder, an example of the path is Msi=mynetworksha Remyprojectfoldermysetup.msi. If Mysetup.msi is located into a folder named Myinstallerfiles, on the same CD as Setup.exe, a n 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 are located on the local computer in a folder named Myprojectfolder, the path would be fxinstal Lerpath=c:myprojectfolder. If Dotnetfx.exe is located on a network share in a folder named MYPROjectfolder, an example of the path might is fxinstallerpath=mynetworksharemyprojectfolder. If Dotnetfx.exe is located into a folder named Myexecutables, on the same CD as Setup.exe, a example path is Fxinstallerpat H=myexecutables/. Save the Settings.ini file.
The Setup.exe Bootstrapper sample performs a comparison between the build number's. NET Framework installed on the TA Rget computer and the. NET Framework being hosted by the application to install. If There is isn't a matching build number, Setup.exe installs the version of the. NET Framework being hosted by the Applicat Ion. If you are want Setup.exe to check for a build number and language version of the. NET Framework, you must specify the LANGUAG E to check for in the Settings.ini file. If you don't specify a language for the languagedirectory variable, Setup.exe checks for the 中文版 language version by Default.
The following table lists the available language versions and the culture name to specify in the Settings.ini file. Languageculture Namechinese (Simplified) CHS
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.