windows-installer

How do you create a shortcut in the SendToFolder for all users with WiX?

When I try to create a shortcut in the SendTo folder for all users in WiX, I receive the following error: warning LGHT1076 : ICE91: The shortcut 'MY SHORTCUT NAME' will be installed to the per user directory 'SendToFolder' that doesn't vary based on ALLUSERS value. This file won't be copied to each user's profile even if a per machin...

How to read the assemblyversion from assemblyInfo.cs??

Hii, there are many others had already post so many question about this..But here the scenario is different. I need to extract the first three digits ie. $(major).$(Minor).$(Build) from version number. how can i do this??..i tried AssemblyInfo Task..but that task is just for overwriting the version number.not to extract the version numb...

how to create multi language windows installer?

Whats the best way to create the multi language installer for Office Addin Deployment Setup? Is it possible using VS.NET 2008, C# or do I need to use any 3rd party tool or like install shield 2009 ?? ...

vmime windows installer

Is there a Windows installer for VMIME? I'm on Ubuntu and don't want to waste too much time setting up a cross-compiler/Windows dev environment. Thanks! ...

Maxlength in Wix Edit control

Is there a way to specify the maximum number of characters allowed in an edit control in Wix?There does not appear to be a property such as Maxlength. The only option I can think of is to use a MaskedEdit control, but there is no option to specify the field length directly. So, to set the Maxlength to say 50 characters, I would have to...

WiX Uninstalling after a minor upgrade

I have noticed that after applying a minor upgrade (1.0.1) the uninstall will be executed using the older version of the installation package (1.0.0) and not with the new package (1.0.1). Is it possible to uninstall using version 1.0.1 ? This is what I done: I have a version 1.0.0 msi package. After installing version 1.0.0 I app...

Is it ok to schedule RemoveExistingProducts custom action before InstallValidate?

Problem I have an MSI that creates and starts a Windows service during installation and stops and removes the service during uninstallation. This works fine when installing and uninstalling by itself, but when upgrading, the Files in Use dialog is displayed (only on Vista and later due to the new Restart Manager), indicating that the se...

.NET Installer Project - Create shortcut keeps reinstalling everytime

I have a .NET project (VS2008 .NET 3.5) that builds an exe. I have an installer project as part of the same solution that creates an installer for that exe. In the File System for the installer, I create a folder for my application under the User's Programs Menu. In that new folder, I dump the .exe and .exe.config. I also create a ...

[windows] Why so many msvcp80.dll?

My computer have so many msvcp80.dll in different directory. and there are different versions: 8.00.50727.762 8.00.50727.1433 ... applications uses the version under their directory as Private Assemblies with advantages. And also I found a copy of msvcp80.dll under c:\windows\system32. Can I find out which application installed thi...

How to make a System.Configuration.Install.Installer to get a variable from the Setup project?

I have 2 projects in my solution A Windows service Its Setup project I need that my ProjectInstaller : System.Configuration.Install.Installer's method called OnAfterInstall to get the ProductName from the Setup Project. How do I do that? ...

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

Merge Module problem from Dark.exe decompliation

I have been working for quite sometime to transfer all of the installations for my job from Wise for Windows Installer to WiX. Started with the obvious step (given the number of installations to transfer and their size) and decompiled them with Dark.exe (WiX toolkit). I have been creating a general purpose program to clean up the outpu...

Is "Everyone" or "Just me" the default option for a Windows Installer package?

Microsoft has an article (http://support.microsoft.com/kb/835460) which explains how to use the Orca database editor to remove the "Everyone" option and the "Just me" option from a Windows Installer package that you created by using Visual Studio .NET, but no where in that article do they explain what the default option is. In other wor...

InstallShield 2010 - 1603 Fatal Error [Windows Installer] (Windows 7 Only)

Hi all, I created an MSI InstalScript Project where i deploy a web based (ASP.NET) precompiled project copying the files during installation in the \inetpub\wwwroot\projectnamefolder, creating an AppPool and the virtual dir of course in the IIS. The setup works great in windows XP Pro (SP3 i used). But soon as i try in Windows 7 (tried ...

WiX: Calling Custom Action on Merge Module only if Feature is selected

I have a WiX installer which has 3 Projects. 2 Creates Merge Moduels, 1 Creates the installer. The code in the mergemodules should only be executed if the corresponding feature is selected. Is there any chance to get this to work with custom actions? From my experience the custom actions are always called - wether or not a certain feat...

Howto use configurable Merge Modules in Wix?

AFAIK it's done like this: Product: <Merge Id ="HelpInstaller" SourceFile="HelpInstaller.msm" Language="1033" DiskId="1"> <ConfigurationData Name="SurpressInstallation_Config" Value="&amp;HelpFeature"/> </Merge> Merge Module: <Property Id="SupressInstallation" Value='0' /> <Substitution ...

Wix Howto determine if a directory exists during installation?

Is their any chane in wix to determine if a certain directory exits when the installer is running? I guess i have to use some sort of custom action, unfortunatelly i don't know how! Furthermore i want to store the result of the costom action in a property and use this as an condition for calling another custom action. Is this possible? ...

Why is WiX detecting Windows Installer 4.05 when 4.5 is installed?

This is a bit of a strange problem. I have an installer that needs to check the version of Windows Installer on a machine, so I use the VersionMsi property to do this. However, when trying it out on a Vista 32-bit machine, I have found that it reports that I have 4.05 installed. So I checked msi.dll, msiexec, etc and found that they wer...

wix and iis - unable to update metabase error

Hi I have a wix project that installs a web site (MVC2) to an existing web site the user selects. This works fine on my machine (of course) but the client is getting the following error on there test vm's: Action 16:08:03: ConfigureIIsExec. Action 16:08:03: WriteMetabaseChanges. Installing Metabase Keys and Values WriteMetabaseChange...

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