Setup-Projekt in Visual Studio 2003
-
Ist es möglich in einem Setup-Projekt aus Visual Studio die Installationsdateien
von z.B. DirectX oder dem .NetFramework einzubinden, sodass diese gleich mit installiert werden ?
-
Servus,
DirectX weiss ich nicht aber das .Net Framework geht nicht:
MSDN schrieb:
Deployment of .NET Framework Applications
All Visual Studio .NET applications and components that use the .NET Framework require the correct version of the common language runtime to be already installed on the computer where the application or control runs. Installers built using Visual Studio deployment also require the .NET Framework; therefore, you cannot install the .NET Framework as part of a deployment project. The .NET Framework must be installed using the .NET Framework redistributable (Dotnetfx.exe) before installing your application.
Although it cannot be distributed, you might notice that a merge module for the .NET Framework appears in the Detected Dependencies folder for your deployment project. It is there only in order for the tool to calculate dependencies. It is excluded by default (its Exclude property is set to true); changing this setting will cause a build error.
In addition, a .NET Framework launch condition is automatically added to your deployment project. This launch condition checks for the existence of the .NET Framework at the beginning of installation and halts installation if it is not found. By default, the user will see a dialog box that gives him the choice of going to a Microsoft Web site to download the .NET Framework. If you remove this launch condition from your project, the check will not be performed and the installation may fail unexpectedly.
Any Visual Studio .NET application or component that includes data access has a dependency on Microsoft Data Access Components (MDAC) version 2.7 or later. The dependency cannot be detected by the deployment project; if MDAC is not installed on the target computer before installing your application, the application will install properly but will fail to run. You will need to add a launch condition to check for MDAC if your application includes data access. For more information, see Adding a Launch Condition for Microsoft Data Access Components.
d.h. Nimm dir Installshield oder ein andere Installtions Dingsbums Deployment Kram (<< Keine Lust Wort zu finden)
mfg
Hellsgore
-
ok, danke