How do you detect that the install is running in silent mode?
I have a custom application that I've added a .msi setup project. I run the .msi file with the /qb switch, and in my custom installer c# code I would like to be able to detect this.
Edit: nobugs says to test the UILevel property. How do I access the UILevel property from a ...
We register the capabilities of Delphi applications using TLB files. However, from reading MSDN documentation, "Installation package authors are strongly advised against using the TypeLib table. Instead, they should register type libraries by using the Registry table". Does anyone have any advice on how to do this in a 'Delphi' way for W...
Hello,
Is it possible to do nested instllations of msi's in Visual studio 2008 setup project?
Thanks and Regards
Raju
...
I want to create a installer which
would just dump few files and folders
at a location specified by user. But
the problem is these files are
required to be picked up from a fixed
source folder and then the installer
is build. Also, these files may change
any time and then again a new version
of the installer is require...
I have a Basic MSI project. I need to remove another MSI product on installation that is now integrated into our main application. I tried to use the upgrade scenarios and treat it as a major upgrade. However, this didn't work because of the upgrade codes not matching I believe.
Next, I also made a custom action that ran msiexec.exe aft...
We are developing customized installer using visual studio 2008 installer project. The requirement which we are trying to adress is; suppose user starts installation and if already older version is available on same machine then we should promp user to upgrade the version and needs to show list of files which are new in this version.
...
I'm trying to convert a project in Visual Studio 2008 from static linking of the CRT to dynamic linking. This was easy enough, and I added the CRT MSM and policy MSM to my Wix file with no problems.
I am not that happy with the MSI that is output though, it is much larger than what I expected. Looking at the MSI with Orca shows three co...
Hi to all,
I have built a WIX project which installs and starts services. For the release version it all seems to work fine but for the debug version I get "insufficient privileges to start service". Any clues why this is happening?
Using .net/Visual studio.
JD.
...
Hi,
I'm using WiX to create a windows installer. Unfortunately my installer overwrites a config file on every update.
What I really want is, that the installer only creates the file if it is not found.
Thanks and regards,
forki
...
Hi.
I'm writing installer for my program using Windows Installer (not wix).
In some cases i want cancel installation proccess from my custom action. Beside, i want show an error message with my text.
How do this?
C#, .net 3.5
...
Hi everyone,
Due to user confusion, our app requires separate installers for 32-bit and 64-bit versions of Windows. While the 32-bit installer runs fine on win64, it has the potential to create support headaches and we would like to prevent this from happening.
I want to prevent the 32-bit MSI installer from running on 64-bit Windows m...
I am using windows installer to deploy my application. And i have add a custom action to access a WCF service from remote server. While installing application i found endpoind not found exception.
ServiceReference.testContractsClient client;
var wsBinding = new WSHttpBinding(SecurityMode.None, false);
//End point i take from user input
...
Hi ,
I was trying to create a setup project using VS2008.
Is there anyway to detect if a particular Office 2010 application is installed or not?
(as a prerequisite) .eg: i want to detect if Powerpoint 2010 is installed on client machine.
I was trying to use windows installer search option in lauch condition but unable to find
wha...
Are "Visual Studio Setup" Projects suitable for complex setups in different versions?
The application is rather large (> 500.000 lines of code) and is under continuous development. Every 6 to 10 month a new version gets released. We have multiple configuration files (INI and XML), registry keys, database migration scripts, etc. The app...
Hi,
I am trying to modify the userSettings section (Properties.MyApp.Default) in the MyApp.exe.config file during the installatio of my WPF application using an MSI installer.
I basically implemented it like in this excellent article: http://raquila.com/software/configure-app-config-application-settings-during-msi-install/
The differe...
I've created an MSI that accepts several parameters in as values through the command line install.
Is there a way to include documentation in an MSI so when a user executes the MSI from the command line they can see information that I created on the custom parameters?
For example "Myproject.msi /?" would display the allowable parameter...
How can I detect if .Net 2.0 SP1 is installed from my installer msi, and abort the install if it is not present?
I know how to do this in code, but it seems cleaner do it in the vdproj. It feels more declarative.
...
My project uses several dll files with activex controls.
Now I am making a deployment project (windows installer).
I need to register dlls via windows installer using regsvr32. How should I do it ? And can I detect if regsvr32 failed or not ?
...
We recently had an MSI go out the door with a bad bug in a custom action. I was able to create a transform for the MSI binary table and this did work but I think I was lucky. I altered the custom action (Installscript), compiled the script and then exported the binary table. I imported the binary table into a copy of the base MSI and the...
Hi,
I have a number of editions of the project for which I am making a Visual Studio setup project (installer).
For each edition there is a separate license agreement that should be shown in the default License Agreement window.
What I want to do is to point the LicenseFile of the License Agreement window to a file somewhere on the cl...