you can try:delete "/install" argument or set other dotnetfx.exe arguments(you can get it from execute dotnetfx.exe with "/?")Note: this is not a good idea, if your solution include custom install class!you can write an unmanaged program to install dotnetfx and mdac.Good luck!
The .NET Framework redistributable package uses a Windows Installer package that wraps it into the single, self-extracting executable file Dotnetfx.exe. The Dotnetfx.exe executable file launches Install.exe, which performs platform checks, installs Windows Installer 2.0 if necessary, and then launches the Windows Installer package (.msi file). Table 1 describes the command line options you can specify when installing Dotnetfx.exe. To specify options when installing Dotnetfx.exe, you must pass the options to the Install.exe wrapper using the /c: option.Syntaxdotnetfx [/q:a] [/c:"Install [/l][/q]"] Table 1. Command line options for installing Dotnetfx.exeOption Description /l Creates the setup log, netfx.log, in the %temp% directory. Error codes returned from Dotnetfx.exe are written to this log. /q Specifies quiet install mode. Suppresses the display of the setup user interface. For a quiet install, you must also specify the Dotnetfx.exe /q:a option to suppress the extraction user interface. You should use the Windows Add/Remove Programs option to uninstall a .NET Framework application that hosts Dotnetfx.exe. This ensures that Dotnetfx.exe will not be uninstalled independently of an application that is dependent on it in order to run.Usage Examples The following command installs the Dotnetfx.exe redistributable package.dotnetfx /c:"install" The following command performs a silent install of the Dotnetfx.exe redistributable package.dotnetfx /q:a /c:"install /q"
this is not a good idea, if your solution include custom install class!you can write an unmanaged program to install dotnetfx and mdac.Good luck!
给个电子邮件,发送个可自动检测目标机子上是否有装.net,没有会自动安装~~~的setup程序~~~
Table 1. Command line options for installing Dotnetfx.exeOption Description
/l Creates the setup log, netfx.log, in the %temp% directory. Error codes returned from Dotnetfx.exe are written to this log.
/q Specifies quiet install mode. Suppresses the display of the setup user interface. For a quiet install, you must also specify the Dotnetfx.exe /q:a option to suppress the extraction user interface. You should use the Windows Add/Remove Programs option to uninstall a .NET Framework application that hosts Dotnetfx.exe. This ensures that Dotnetfx.exe will not be uninstalled independently of an application that is dependent on it in order to run.Usage Examples
The following command installs the Dotnetfx.exe redistributable package.dotnetfx /c:"install"
The following command performs a silent install of the Dotnetfx.exe redistributable package.dotnetfx /q:a /c:"install /q"