I would like to add a shortcut on the desktop which points to a virtual drive mounted under "Computer". This drive doesn't have a letter associated with it. I've successfully added a link to an executable, but all tries with Explorer has failed. When I add this shortcut manually it gets the following shortcut (in properties): Computer\My...
When trying to remove our application in Add/Remove Programs, the following error pops up, and the application fails to uninstall:
Error
'mFileBagIDE.dll' is not a valid short file name.
The curious thing is that you only get this error if the original installation DVD is not in the drive. If the DVD is in the drive, the unins...
When we deploy our products using OEM we have a requirement that our company name will not appear in the Publisher property of the installation in the add remove / other.
although we have easy way of choosing neutral name for the publisher we would love to be able to set the name dynamic according to property for the installation (and al...
We have an application to be run on StartUp that allows many installed files to be changed after installation. We are trying to turn off the self-healing mode by setting the DISABLEADVTSHORTCUTS=1 property in Orca. However, no shortcuts are being created when this property is set. All the information I've seen indicates that we should be...
How do you install Tomcat 6 as a service using the Wix ServiceInstall Tag? Is there a way to do it, or do I need to use a custom action to call the executable or batch file that comes with it to install the service?
...
We have developed some applications which are installed with Windows Installer (MSI files). Some are installed for all users and others for the current user only.
Sometimes users experience a problem when attempting to upgrade or remove the applications which were installed for the current user which causes Windows to pop up a message s...
I have a WiX installer that has per-feature custom actions that need to be executed on uninstall. Right now I'm running into a problem where the actions execute whether or not the feature was actually installed by the user. The custom actions fail because they expect certain resources to exist and then the entire install is stuck in a ...
In custom action I override following function and got exception in rollback
case... "savedState dictionary does not contain the expected values and might have been
corrupted ". Is there any other way to rollback ?
protected override void OnBeforeInstall(System.Collections.IDictionary savedState)
{
try
...
PLEASE READ THE FULL QUESTION BEFORE POST YOUR ANSWER
Hello guys!
I'm currently developing a "Extremelly customized Installer Application" in C# for installing a old classic ASP application. It'll be used during the 2.0 version is developed (ASP.NET MVC with C#).
As its so different from the efault install packages, I've made it as nor...
I have been asked to fix a small problem with one of our small product's install. Its a basic .msi file (about 0.5 megs) that was created in Microsoft Visual Studio. When you run the installer it goes and installs the program, just like it should, then when the progress bar is about 99% done the program that it installed loads up, stalli...
I'm writing an NSIS installer. I'm trying to figure out how to capture the error when the file is unwritable (eg, if C:\Program Files\ is unwritable because the user doesn't have permissions).
The error text shown can be changed with "FileErrorText", but I'd like to call a function to do some work instead of showing a dialog box.
.onI...
I added a few custom pages to my setup. In one of this custom pages I do some checks. If this checks failed, I want switch to finish page. How can I do this?
I can not do this with ShouldSkipPage event function because:
function ShouldSkipPage(PageID: Integer): Boolean;
begin
// this will NEVER happened - see documentation below
if...
When is it necessary to change the package GUID of a merge module?
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Module Id="MyMergeModule" Language="1003" Version="1.0.0.0">
<Package Id="SOME_GUID" Manufacturer="Me" InstallerVersion="301" />
</Module>
</Wix>
Wix3 requires that the package GUID is explicitly specified...
I'm working on an installer that, among other things, installs a web server.
As part of the setup, I'm setting up an ODBC driver and data source. I'm
trying to put a bunch of utility files, including the third party ODBC driver DLL,
into a certain folder, but when I run the installer, it insists on changing
that directory to the SystemFo...
I'm looking at the Microsoft article for Operating System Property Values and it seems that both Windows Server 2008 R2 and Windows 7 have a VersionNT value of 601. I see in the comments on the article that you should use MsiNTProductType to differentiate the two.
So if I wanted to only allow server 2008 R2 installations (and not Window...
I'm working on an installer that is supposed to install several Windows services. We make new builds (with new .msi files) pretty often, and we use major upgrades to make it easy to install over a previous installation.
The problem is that we need to update the service files without overwriting the service configuration (account usernam...
I want to create a simple MSI to install some DLLs into programs, similar to how Telerik installs itself.
Telerik uses "C:\Program Files\Telerik\RadControls for WPF Q1 2009\Binaries\WPF\"
I'd like to do something simiar, such as "C:\Program Files\Foo\Bar\Bin\"
Is this just as simple as creating an Installer project, or is there more t...
I'm working with boost::python and wanted to build the whole thing to make sure I can pull it off. However, I don't see any install script or way to build the MSI so I can install it.
Anyone know where the directions are? Or the projects I could use to make an MSI file?
Doing this on linux seems trivial:
make install
How do I do th...
Hi,
I have created an MSI package which when finishes runs an exe.
<Package InstallerVersion="200" Compressed="yes" />
<Media Id="1" Cabinet="media1.cab" EmbedCab="yes" />
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFilesFolder">
<Directory Id="INSTALLLOCATION" Name="Installer Example"...
I just created a simple .NET Windows service. My users are supposed to download it from my site and install it on their computers. So, from various forum posts (including this site) I know that in order to do this I need an installer. Or I can just give them service files and instruct how to install it. I begun with creating a setup proj...