WiX - Windows Installer XML toolset: Difference between revisions

From Yggenyk
Jump to navigation Jump to search
 
(9 intermediate revisions by the same user not shown)
Line 2: Line 2:
[[Category:Software development]]
[[Category:Software development]]
* [http://en.wikipedia.org/wiki/WiX WiX - Wikipedia]
* [http://en.wikipedia.org/wiki/WiX WiX - Wikipedia]
* [http://wix.codeplex.com/ WiX toolset on CodePlex]
* [http://wixtoolset.org/ WiX Toolset - wixtoolset.org]
* [http://www.tramontana.co.hu/wix/ WiX tutorial]
* [http://www.tramontana.co.hu/wix/ WiX tutorial]
* [http://wix.sourceforge.net/manual-wix2/wix_index.htm WiX manual]
* [http://wix.sourceforge.net/manual-wix2/wix_index.htm WiX manual]
Votive is the Visual Studio package for WiX that lets you create and build WiX setup projects using the Visual Studio IDE.
Votive is the Visual Studio package for WiX that lets you create and build WiX setup projects using the Visual Studio IDE.
* [http://wix.sourceforge.net/votive.html WiX Votive]
* [http://wix.sourceforge.net/votive.html WiX Votive]
* [http://wix.sourceforge.net/releases/ WiX download]
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.
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.
* [http://www.codeproject.com/KB/install/WiXTricks.aspx WiX tricks]
* [http://www.codeproject.com/KB/install/WiXTricks.aspx WiX tricks]
Line 16: Line 18:
* [http://msdn.microsoft.com/en-us/library/ms164294.aspx .NET GenerateBootstrapper Task]
* [http://msdn.microsoft.com/en-us/library/ms164294.aspx .NET GenerateBootstrapper Task]
====Redistributing Visual C++ Libraries====
====Redistributing Visual C++ Libraries====
[[Installing applications using Microsoft runtime .dll's]]
* [http://msdn.microsoft.com/en-us/library/aa367434(v=VS.85).aspx About Merge Modules]
* [http://msdn.microsoft.com/en-us/library/aa367434(v=VS.85).aspx About Merge Modules]
* [http://msdn.microsoft.com/en-us/library/ms235316(v=VS.100).aspx Visual Studio 2010 - Visual C++ 10.0 Libraries are Shared DLLs]
* [http://msdn.microsoft.com/en-us/library/ms235316(v=VS.100).aspx Visual Studio 2010 - Visual C++ 10.0 Libraries are Shared DLLs]
Line 22: Line 25:


====Other sites about building installations====
====Other sites about building installations====
* [Aaron Stebner's WebLog http://blogs.msdn.com/b/astebner/]
* [http://blogs.msdn.com/b/astebner/ Aaron Stebner's WebLog]
 
====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:<br>
'''HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations'''<br>
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.


<google>ENGELSK</google>
<google>ENGELSK</google>

Latest revision as of 07:23, 28 August 2012

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.

<google>ENGELSK</google>

id=siteTree