msi

Wix create non advertised shortcut for all users / per machine

In WIX, how do you create a non advertised shortcut in the allusers profile? So far I've only been able to accomplish this with advertised shortcuts. I prefer non-advertised shortcuts because you can go to the shortcut's properties and use "find target". In the tutorials I've seen use a registry value for the keypath of a shortcut. T...

WIX property value substitution and CAQuietExec

So far, I'm NOT finding WIX to be my favorite most intuitive, easy-to-use, language/system. I created a custom dialog, entered data, and see the values in the install log. MSI (c) (C8:A4) [14:42:37:137]: PROPERTY CHANGE: Modifying VARRADIOBUTTONENVIRONMENT property. Its current value is 'Dev'. Its new value: 'QA'. MSI (c) (C8:A4) [14...

Where the MSI file is copied after the installation?

I have to replace it because of a bug that blocks the software uninstallation, but Windows can't find the MSI file if I use the file search utility, but I think the MSI is stored somewhere where the Add or Remove Programs utility can use it. ...

VS2008 Setup Project: Uninstalling the previous MSI

I have a VS2008 setup project, which creates a setup.msi which installs a WinForms application (C#). Every time I update the version number, the users first have to uninstall the previous version before they can install the new one. Otherwise we get the dreaded "Another version of this product is already installed" message. This is wha...

How to create .msi setup package for Visual Studio 2008 Add-in?

Hi, I've created an Add-In for Visual Studio 2008. The only thing remaining is to create a setup package so that others can install and use my Add-In. How can I do this in Visual Studio? I tried creating a simple setup package, inserting files into the Add-Ins folder in the user's Documents folder, and it all worked as expected, except...

Problem to install MSI via msiexec /i .. /qn

I'm working on a MSI file which is able to install 2 tools. Both tools are installed from an exe file but which are able to be launched silently with arguments like /SI I can built the project without problem, without warning... Un-install works fine too. If I double click on my MSI file, both software are installed without problem.... t...

How do I prevent an unwanted extra web site from being set up in Windows Server 2003?

I'm working on an installer that installs a suite of applications, among them being a web server. I'm having a problem where, in Windows Server 2003, in addition to the web site getting installed under DefaultWebSite, it is also appearing as an extra site below DefaultWebSite. Also, two Default Application items are being created under t...

Starting a process as an other user in OnAfterInstall gets access denied.

Hi I'm tryning to start a .bat file as the last step in OnAfterInstall in the context of an other user. I'm doing this by using the Process.Start overload with user name, domain and password as input. It works fine if I do not check the 'Everyone' in the installation. If i have the 'Everyone' selected I get access denied, with the same...

How to use msiexec to update a program

I have a .msi to install a program. Upon 'update', I want to be able to check whether there is an update available on a server, and if there is, install it. Can msiexec do that? I've looked around, and all I can find is that the /update just applies .msp patches. Is the .msp patch a patch for the installer itself, or for the installe...

Freeware tool for creating a single file installer from an msi file + config file (thats easy enough for an End-User to use)

My installer requires there be two files in the same directory in order for it to install. The installer (.msi file) An organization specific config file that the installer copies. (This file is customized by the organization and then distributed to it's end users). Since there are two files, the file has to be distributed as a zi...

Access the AllUsers selection with an MSI CustomAction

I'm having a heck of time figuring out how to access the AllUsers selection from within a custom action. Thanks! ...

Dynamically include files in MSI setup

I am trying to deploy a bunch of files in a directory in my MSI setup. As the files will change frequently I don't want to add the files directly but rather have a way of automatically including all files from within a directory and deploy them to a certain location. I am using a Visual Studio Setup Project. Anybody know how/if this is...

DISABLEADVTSHORTCUTS=1 disables all shortcuts

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...

WIX automation and patch behavior once registeration of DLL is changed

I have basic issue that i don't understand, we use HEAT to consume directory of artifacts that part of them are COM DLL. As part of the crated WXS file i see that there are elements for registry like: <Component Id="cmpAE50B39B8817E1840F09193686006FFA" Guid="*"> <File Id="fil7BDB953AB6AAEC9E98E28F49D87BABA3" KeyPath="yes" Source="Sou...

"The parameter is incorrect" when clicking pinned item on Windows 7 after updating the application

I have the following situation: Installed my application using ordinary .msi Run the application from the start menu Right click on the icon in the task bar and pin it. Now, I can use the pinned item/short cut to start my application but after I update my app using another .msi file, clicking on the pinned item shows this error: 'Pr...

msiexec does not pass parameters to custom action

Greetings, I have a custom action inside an MSI installer that makes some changes to some configuration file. my requirement is to run the installation in silent mode so I am using msiexec. Here is the command: msiexec /i myInstaller.msi /l* out.txt myContextParameter=value1 myContextParameter is never passed to the custom action so ...

Read MSI file with Java

I have found how to read MSI files with .Net. Some of them use some libraries that come with Wix. Is there a way I read MSI data using Java. I would like to access the tables and get text values. ...

Installing DirectX with application MSI - VS2008

The application supports Windows XP, Vista, and Windows 7 but need DirectX libraries in order to work properly. I have the DirectX 9.0C Redistributable package and want to include it in my MSI installer created with a Visual Studio 2008 setup project. Two pronged question: How do I include the DirectX 9.0C package wiht my MSI? Will the ...

Program opens during install and halts MSI till quit

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...

Create 64 bit registry key (non-WOW64) from a 32 bit application

I have a Visual Studio installer that is creating some registry keys: HKEY_LOCAL_MACHINE\SOFTWARE\MyApp but the registry keys it is creating are automatically appearing under Wow6432Node: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\MyApp How do I ignore the Wow6432Node when creating registry keys in my C# code being executed by the msi...