What is the best way to manage components whose contents can't be easily mapped to a keypath (ie file, directory or registry key) ?
Here are some of the installed entities I've dealt with over the years that had this problem:
Database scripts
Scheduled tasks
CryptoAPI key pairs
HTTP.SYS url reservations
Initial installation isn't a ...
Ok, this is driving me crazy.
I have a CA that needs to know the path of the INSTALLDIR to edit an XML file.
So, I set up a set property custom action that sets a property named RemoveAuthTypesNode to [INSTALLDIR]. Then I have a RemoveAuthTypesNode CA that is sequenced after SetConfigFolder (a set property that sets installdir to a sys...
One of our MSI's has started failing with Error 2902. It'll get most of the way through the installation, pop an error box, and then back out the install. We haven't made any major changes to the installer since the last working version.
Running msiexec with logging turned on gives a more informative message:
Action 17:21:22: Registe...
I need to install a piece of software with a lot of files. Our experience showed, that on highly fragmented hard drives that leads to very poor performance. So I want to include automatic disk defragmentation into my installer (which I plan to write using NSIS). How can I include a defrag command and read the results as part of my instal...
In WIX am in-need of a dot net managed custom code to dynamically populate a combo box with the values of sql server instances in that network.
I tried to google but got nothing worked
Any help is greatly appreciated.
...
I am trying to create a setup for SourceForge PDFCreator using Inno Setup and getting following error in Setuplog.txt:
Printerdriver-Directory (Environment: Windows 4.0):
Result: Success = C:\WINDOWS\System32\spool\DRIVERS\WIN40
Printerdriver-Directory (Environment: Windows NT x86):
Result: Success = C:\WINDOWS\System32\spool\DRIVERS...
Hello,
How can I set the target dir of a Visual Studio setup project to the folder in environment variable VS100COMNTOOLS?
So I want the files to be installed in %VS100COMNTOOLS% with a Visual Studio setup project.
Regards
...
I'm using Wix to setup a Windows Installer .msi file. I have a CustomAction that sets up a ScheduledTask, and in the CustomAction, I've put in some session.Log statements.
If I build everything in debug mode, the session.Log statements seem to work, but when I build in Release mode, it seems to no longer log. Is this correct? Or are ...
Exact duplicate: What is the best choice for building Windows installers
Exact duplicate: Best Windows installation file creator
I have a customer who is new to generating VB.NET programs that run Watcom FORTRAN programs. (Yes FORTRAN is alive in Numerical Control Programming) He is attempting to install the program on another computer...
Hi everyone,
I am having a WPF project and created a deployment project. I was able to get the installer running and it works fine. Now during the commit stage of the application, I want to trigger another installation. I tried creating a custom action and added below command in the customactiondata field.
msiexec.exe /i "[SOURCEDIR]\A...
I have a bootstrapper application which installs several MSI packages. However, it seems that windows installer does not return any error code if the installation fails. For example, the following command line test does not print "failed" if I hit "cancel":
msiexec /i myinstaller.msi || echo failed
Given the lack of error feedback, wh...
I am trying to fix an existing application that uses a Visual Studio 2005 setup project.
We are requiring it to work on limited user accounts for XP, our app is written in C# for .Net 2.0.
It writes keys into HKCU during the setup, but skips the UI step for choosing 'Install for Everyone' versus 'Just me'. So it defaults to installing...
I'm creating a Windows Installer setup file using Wix and the standard UI library. I've supplied my own RTF file for the license agreement, but tables are not displaying correctly. Are tables supported in this case, and if so, what do I need to do to get them to display?
Basically, the cell border is only being drawn around the first li...
I want to implement the 'Update' functionality for one of my .NET application. I saw that the 'Advanced Installer' contains this functionality.
Anybody recommends Advanced Installer for updating my app?
Also I'd like to know if this can be done using Visual Studio Setup project.
...
I want to allow my users to install multiple copies of my application on a single PC; one for testing purposes, one for production system. The install is a MSI file created directly in VS2005. Is there any way to enable this? I up for using other tools to generate the install or even using Ocra directly if I had to, but for now at lea...
We have a situation where for some reason the certificates on our Windows Installers for our product tends to get broken or go bad. Never mind why, the key is that it is not currently detected by our nightly test runs.
So how can that be done?
I.e., an automatic test that runs a Windows installer and checks if it pops up a UAC or bad...
Hello,
I'm trying to create a setup project using WIX that will allow me to install multiple features of a single product. How can I update one of the installed features (which is independent of the other installed features) without having to reinstall the other features in the feature-tree?
For example, I want to be able to have a p...
Does anyone know if/how I can stop a WiX-based MSI installer from proceeding to the next dialog when a certain condition is met? I have the following code:
<Dialog Id="SelectIISApplicationPoolUserDialog" Width="370" Height="270" Title="$(var.ApplicationPoolUserDialogTitle)">
<Control Id="Next" Type="PushButton" X="236" Y="243" Width="...
With the new Windows 7 restrictions (well, new to Windows Vista anyways), we can no longer install demo projects to *%ProgramFilesFolder%\OurApplication\demo\* since restricted users will not be able to open and modify these projects.
Is there a "correct" place to install these files now?
The two alternatives that I am aware of would b...
Hi, I'm learning about Windows-Installer and Wix, and have a number of questions related to how it works:
If a component GUID changes, but the same files are in the component, what happens on a major upgrade? Do the files get replaced?
If a component is removed from a product, what happens to the associated files on a major upgrade? ...