Questions tagged [windows-installer]

Windows Installer is the installation service provided with Windows, based on the creation and installation of MSI files. In practice there will be a tool you're using to generate the MSI files, and you should tag your question with Windows Installer and that tool (WiX, Visual Studio Setup Project, InstallShield, Advanced Installer etc). Your issue may be with building, designing, or installing MSI files.

From the MSDN documentation:

Microsoft Windows Installer is an installation and configuration service provided with Windows. The installer service enables customers to provide better corporate deployment and provides a standard format for component management. The installer also enables the advertisement of applications and features according to the operating system.

Installer also handles registry related changes.

8835 questions
44
votes
3 answers

Wix: How to set permissions for folder and all sub folders

I know how to set the permissions for a folder:
Mike
  • 463
  • 2
  • 5
  • 5
42
votes
3 answers

Advertised shortcuts vs. non-advertised shortcuts in windows setup project

I cannot understand what is exact consequences of using attribute Advertise in Shortcut attribute. What is the diffirence?
fakir314
  • 592
  • 1
  • 4
  • 12
41
votes
3 answers

How to register file types/extensions with a WiX installer?

I didn't find an explicit answer to this question in the WiX Documentation (or Google, for that matter). Of course I could just write the appropriate registry keys in HKCR, but it makes me feel dirty and I'd expect this to be a standard task which…
OregonGhost
  • 23,359
  • 7
  • 71
  • 108
40
votes
4 answers

How do I do a silent install and uninstall with WiX and MSI?

How can a silent installer be created in WiX that does not display any UI dialogs to the user and installs, upgrades and uninstalls with default settings?
MX4399
  • 1,519
  • 1
  • 15
  • 27
39
votes
3 answers

Build NSIS script as a MSI package

Is there any way to compile the Nullsoft Installer Script (NSI) setup as a MSI package instead of an EXE?
NumberFour
  • 3,551
  • 8
  • 48
  • 72
38
votes
9 answers

How to give Read/Write permissions to a Folder during installation using .NET

I have a Setup project that I have build using Visual Studio 2010. The installer works fine in terms of installing the application and all its dependencies into their proper sub directories and Program Data directories. However, I noticed that each…
Jed
  • 10,649
  • 19
  • 81
  • 125
38
votes
3 answers

How to create a directory in wix?

My requirement is to create a directory in programdata/test/example. How can I do that in wix?
Prakash
  • 533
  • 1
  • 5
  • 12
37
votes
7 answers

How to create a high quality icon for my Windows application?

If you are running Windows with a higher DPI setting you will notice that most application icons on the desktop look terrible. Even some high profile application icons such as Google Chrome look terrible while Firefox, Skype and MS Office icons look…
Patrick Klug
  • 14,056
  • 13
  • 71
  • 118
36
votes
2 answers

Is there alternative way to access session details in deferred custom action?

I have a custom action and need to get below values for copying some parts from installation folder to VS2010 folder VS2010 directory path (VS2010DEVENV property) Installation path (INSTALLLOCATION property) To give enough privileges, I've set…
jcha
  • 629
  • 1
  • 8
  • 16
36
votes
8 answers

WIX: Howto set the name of the msi output file dynamically

I want to include some dynamic part in the filename of the msi file my wix projects produce. This dynamic part should be controlled by variables which are part of my wix project and are declared like this: Does…
Jan
  • 15,802
  • 5
  • 35
  • 59
35
votes
11 answers

Custom Action - Error 1001: Could not find file myApp.InstallState

I have tried to create a custom action for a Visual Studio Installer project to modify the permissions for a config file. The Installer.cs is as follows: public override void Commit(IDictionary savedState) { base.Commit(savedState); // Get…
CJM
  • 11,908
  • 20
  • 77
  • 115
34
votes
12 answers

How to make an MSI that simply wraps an EXE file

After way too many experiments, I've come to the conclusion that Windows Installer is simply bad technology. But the customers want MSI files. So, how can I create an MSI file that extracts an EXE file to a temporary directory and runs it with…
Joshua
  • 40,822
  • 8
  • 72
  • 132
34
votes
6 answers

Wix Not Removing Files on Uninstall

I've seen others' questions on this matter, but I can't make it work for me. I'm trying to get used to Wix so we can migrate our vdproj's (I feel like we've taken 1 step forward and 4 steps back here...the most basic of things have become completely…
Jeff
  • 35,755
  • 15
  • 108
  • 220
34
votes
1 answer

Check Windows Installer Version

I have checked my Add/Remove program panel and Components panel as well but could not find the version of Windows Installer on my machine. Can anybody please guide me in finding out the version of Windows Installer installed on any machine
Deepesh
  • 5,346
  • 6
  • 30
  • 45
34
votes
2 answers

Launch a totally independent process from Python

I'm trying to launch a completely independent process from python. I can't use something simple like os.startfile since I need to pass arguments. Currently I'm using subprocess.popen which gets me 90% of the way there. args = ["some_exe.exe",…
greenhat
  • 1,061
  • 1
  • 12
  • 19