I have two products that are always installed in tandem. One is an ActiveX exe the other a C# application. I've gotten the ActiveX installer to build and function properly using WiX and I'd really like to combine both into a single installer. I'm feeling just about dangerous enough with WiX to attempt it, but would be interested in any a...
In VS2008, how can I check whether a windows service is running int he launch condition?
...
Just moved to vs2010 and found that deployment is quite different.
The old way I did things (vs2008) was as follows:
1) I right-click on my web app and "Add web deployment project"
2) Start a web setup project, dump that web deployment project output in it, and add any custom installer actions (connection strings or other user input) a...
In a setup project, on User Interface, I've created a RadioButtons (3 Buttons) dialog box.
I've placed it before the Installation Folder Dialog.
I wish to incorporate the value selected in the RadioButtons dialog as part of the Installation Folder.
To do this I've placed the name of the variable amongst the path where I wish to use it...
We have a custom action in our installer. We upgraded our projects to the .NET 4.0 framework, and when it applies the custom action, the installer throws a 1001 error that says the version of the framework is invalid.
The custom action uses the value from a radio-button window earlier in the installer (i.e. takes CustomActionData). In...
All I want is a command-line tool that can extract files from a merge module (.msm) onto disk. Said differently, I want the same "administrative install" functionality that is possible for an MSI:
msiexec /a myProduct.msi TARGETDIR="C:\myInstallation" /qn
The above only works on an msi (near as I can tell). So to get the same effect ...
We have a setup project that produces an uncompressed MSI file and no Setup.exe at all, to be later compressed by NSIS.
In a special build setting, I want to copy that MSI before it's being wrapped by NSIS, change the copy, and keep it. I would also like to compress it, after it has been created by the msbuild.
Is there a simple way (com...
I wrote a Windows Installer custom action based on the tutorial found here:
http://www.codeproject.com/kb/install/msicustomaction.aspx
My custom action is killing a background process of a given name which could still be opened by the user. The reason is that I don't want users to see the warning that a given EXE is running and must be ...
In VS 2008 setup/deployment project, is there any way to add a custom error dialog (or customize the existing one) to handle errors encountered during the installation process?
...
I think the default dir gets a trailing slash.
But what if the user selects a different directory?
Is there a way for the INSTALLDIR to NOT have a trailing slash?
It's not that I want it to not have a trailing slash. I want to know if I can count on it, so that, for example,
[INSTALLDIR]Filter.dll
...will always resolve to a re...
In reference to the post below, where it says I should increase the version number for older versions to be replaced by newer ones.
http://stackoverflow.com/questions/40603/msi-installer-fails-without-removing-a-previous-install
What I find is, just changing the version number didn't do the job. I had to change the product code also, w...
I have an installer that I would like to use for a major upgrade. I have done the following:
Increased the version number (from a.b.c to a.b.c+1)
Changed the ProductCode
Kept the same UpgradeCode
Made the appropriate entry in the Upgrade table
Changed the component ID of an existing component
Changed the name of the installer package
...
I have a .NET solution with an installer project that generates an MSI. One of the projects installed by the MSI contains an App.Config file. It appears that the values of that config file are embedded into the MSI at compile time. Is there a way to override them at runtime?
For instance, the App.Config I'm working with sets the URL of ...
In my MSI package I need to set user rights to a directory using cacls.exe. It works fine in an NTFS environment but fails when run on a Fat32 file system. Is there a method to determine the type of file system of the drive the software is installed to?
I'm using WiX 3 to create my MSI package but any hint pointing to the MSI database w...
I'm trying to embed Microsoft Report Viewer 2008 to my installer package on InstallShield.
It accepts a Chained msi, but I was able only to find .exe and not a .msi version for ReportViewer.
Does anyone know if is there a way to find this ReportViewer.msi or convert the ReportViewer.exe to ReportViewer.msi?
thank you
...
I have an application that will be deployed as MSI package (authored in WiX).
I am deciding whether to specify elevated or limited privileges as required for the installer.
The application does not include anything requiring elevated privileges besides the default install location, which is under Program Files.
Now the problem:
If I...
Is the MSI Product Version available to the application?
I have tried, Assembly.GetExecutingAssembly().GetName().Version,
but it gives me the assembly version which is a different from what I want. I can edit this value in the appropriate place, but it would be convenient if I could just show the Version Number from MSI installer.
Ano...
I'm having a problem though with the Windows caching of the installer. I'm trying to do an upgrade and each time the Windows installer is launching the installer of the older version. And when I do the upgrade it is complaining about problems with reading the older version's msi file (because its not in the same directory anymore).
I di...
Hi,
I have a situation where a user can install an older version of my software for the 'current user', and then go ahead and upgrade to a newer version of my software for 'all users'.
The product itself works fine after this, but the strangeness happens on uninstall.
When I try to uninstall the product, the uninstaller shows a coupl...
Hi,
I have a msi file. I want to get the Revision Number of this file.
I can get it by properties->summary ({690D33BD-602F-4E71-9CB5-1CF2E9593DEE})
But I want to get this number using .net code.
So can u please help me out in this...
...