I'm working on the upgrade feature for my WiX-based installer.
As part of the instalation, we are installing a web.config file and then using a custom action to update the connection strings inside the file.
But this causes a problem when we run our upgrade. We would like to have the RemoveExistingProducts scheduled for after InstallF...
Hello:
I'm developing a Windows Form application that will typically minimize to the system tray. Being new to .net, what would the easiest approach be for packaging/deplopyment that allows:
The application ensure it puts itself into the startup menu, or something equivalent to this.
Easy updates—like those apps that periodically che...
I want to create a windows installer package using visual studio. It is my understanding that there was a simple way to do this in vb6, you could add an installer like you can add a new form.
How can I do this in vb.net? I downloaded and installed the Windows SDK from http://www.microsoft.com/downloads/details.aspx?FamilyID=c17ba869-967...
I've currently got an .exe that bootstraps a bunch of prerequisites (NET3.5, hotfixes, ...), including upgrades to Windows Installer (I need 3.1), and then finally runs my msi.
I'd like switch this to have an .msi that does everything, and calls an embedded binary for each prereq. Hopefully this'll be less error-prone plus I can integr...
I'm creating a msi based installer (using InstallShield) that has a custom action to start a nested install. The custom action is of type 23, the Source field refers to the second msi that is located on the source media, and the Target field contains "ALLUSERS=[ALLUSERS] ADDLOCAL=ALL". The custom action is started in InstallExecuteSequen...
Hi,
I have a Windows Installer project built for my VSTO add-in. However, I have to run one of my DLLs through an obfuscator at the end, but if I try to build the setup project with the modified DLL, it just rebuilds my original DLL and overwrites the modified one. Is there a way I can build the setup project and use my modified DLL?
...
So, I am trying to create a merge module where I have multiple wxs files. I thought that everything was OK since the build of my project succeeded. Later, I realized that the path used in Source attribute for one of the secondary wxs files was completely wrong but the compiler didn't give the following error:
*The system cannot find the...
I have an msi installer that needs to call a few batch files to finish the install procedure. The batch file copies extra files from the installer to a few directories and then modifies permissions on several of those directories. We want to continue using the batch files because there is not a lot of time left in our development schedul...
I have developed a Windows service along with a setup project using Visual Studio 2008. When I do an upgrade install I get the following warning:
The following applications are using files which the installer must update. You can either close the applications and click "Try Again", or click "Continue" so that the installer continues the...
I'm trying to fix a Windows Installer based setup that is already released. The fix is for an error that occurs when uninstalling the package. For this I'd like to provide a .mst transform file that is applied before uninstalling. Is it possible to use a transform after the product was installed? Or can the transform be applied to an alr...
I'm trying to use MsiDatabaseOpenView to manipulate an .msi installer and I am receiving an error that I cannot diagnose.
When invoking MixDatabaseOpenView, the method is returning the error code 1615. The method documentation indicates ERROR_BAD_QUERY_SYNTAX as a possible error result, and 1615 maps to ERROR_BAD_QUERY_SYNTAX according...
Right now, I can add an environmental variable on install with the Environment tag in WiX. Here's an example:
<Environment Id="LibPath"
Action="set"
Name="PATH"
Part="last"
Separator=";"
System="yes"
Value="[INSTALLDIR]" />
However, sometimes, the envi...
i want to execute a command say "net start "servicename" from within installer, i can't use custom actions any ideas?
...
I need help building a customized Installer using visual studio 2008
to install Office 2007 (add-in) tool bars that I have made.
How can I create installers for Add-ins I've made?
...
I have an application that runs as a service.
I have altered the services installer object so that I can pass setup data to it from a user input screen on the installation/setup project.
This all appears to work well apart from the following points:
Installation is error free UNLESS
there is a copy of my service
already installed on ...
I am working on a Setup Project in Visual Studio, and I would like the user to be able to specify whether to create a Desktop Shortcut and/or a Start Menu shortcut to the program by using checkboxes.
I am able to have the installer to create working shortcuts in the appropriate locations, and I added a dialog containing checkboxes to th...
Hi,
I am using sourceforge PDFCreator source code & made some changes, now I want to create a installer of the same. What is the best solution suggested as I am not getting any clue/help from any forum on how to deploy the same.
Thanks.
...
Hi all,
I needed to Add/Remove some things from my Visual Studio 2008 TS installation.
I ran the setup but then I got the following error:
"A problem has been encountered while loading the setup components. Cancelling setup."
This error is handled in the VS2008Readme.htm where they say:
To resolve this issue:
1. Go to Windows Instal...
Currently all upgrades work fine whenever updating to a newer version number, however I'm getting an odd behavior when downgrading. It seems that it'll uninstall the existing version and then partially install the version that I'm trying to install, the main exe doesn't exist in the target location yet, but advertised shortcuts are crea...
Hi,
I'm trying to install a DMO which requires me to write to HKCR\DirectShow\MediaObjects\Categories\57f2db8b-e6bb-4513-9d43-dcd2a6593125, this registry path is protected by TrustedInstaller and it seems that this protection is new in Windows 7 (it work on previous platforms).
How am I suppose to install DMOs?
There are plenty of p...