WiX - Windows Installer XML toolset

From Yggenyk
Jump to: navigation, search

Votive is the Visual Studio package for WiX that lets you create and build WiX setup projects using the Visual Studio IDE.

Solutions for WiX problems such as enable \ disable controls, Custom Actions in C#, running EXE within the installation, and setting icon for MSI and Add/Remove programs.

GenerateBootstrapper Task Provides an automated way to detect, download, and install an application and its prerequisites. It serves as a single installer that integrates the separate installers for all the components making up an application.

Redistributing Visual C++ Libraries

Installing applications using Microsoft runtime .dll's

Other sites about building installations

Using Sysnative to Access the 64-bit System Folder from a 32 Bit Application

If you try to access the Windows\System32 folder on a 64 bit version of Windows from a 32 bit application, you get redirected to Windows\SysWOW64. (There are a few exceptions to this rule: if the program you are launching triggers a user account control dialog (UAC) it doesn’t get redirected, and some special subfolders also don’t get redirected. For details see http://msdn.microsoft.com/en-us/library/windows/desktop/aa384187(v=vs.85).aspx)

To access the real Windows\System32 folder (which – despite of its name – is reserved for 64 bit programs) a 32 bit application can use Windows\Sysnative instead. This functionality is included out of the box in Windows Vista and above. For XP and Server 2003 an update is available to add the sysnative functionality http://support.microsoft.com/kb/942589.

Detect if a reboot is pending to avoid failure installing MS SQL Server

If the registry value:
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations
exists, it contains a list of files to be renamed when the system restarts. It's a REG_MULTI_SZ.

This entry consists of pairs of file names. The file specified in the first item of the pair is renamed to match the second item of the pair. The system adds this entry to the registry when a user or program tries to rename a file that is in use. The file names are stored in the value of this entry until the system is restarted and they are renamed.

If a reboot is pending MS SQL Server installation will fail, ask the user to reboot before installing.