web setup project - Visual Studio MSI Installers -
I have a web setup project installer and I would like to default to the site and app pool which was selected during the installation process is . Apart from this, I want to add the existing version number to the product name during the installer's manufacturing process.
Any help would be greatly appreciated! The Visual Studio Web Setup project is not quite a simple (and very flexible) tool. I
One
You can add properties such as:
- < P> Add a property named
TARGETSITE
and set it to the metabase path of the site that you need to be the default, for example,/ LM / W3SVC / 2
. -
Add
TARGETAPPOOL
to the named asset and set it to its name Application Pool You need to be the default For example,MyAppPool < / Code>.
-
You can also set the product name by editing the existing
>ProductName
property.
Changes to MSI files can be achieved manually with devices such as ORCA (which is part of that).
Alternatively, you can create MSBuild / find the function to get and set properties in MSI files, giving it a good way to automatically make the desired changes automatically during automated build is.
Call commandline arguments
More simply, you can request installation from the command line using msiexec. For example, specify the value for You can not mess with this way about msiexec / i MySetup.msi TARGETSITE = / LM / W3SVC, for example:
TARGETSITE
and TARGETAPPOOL
/ 2 TARGETAPPOOL = Pool 2 ProductName
, though.