App-V Buch
Unser App-V
Buch

- App-V Infrastruktur
- App-V Client
- App-V Sequenzierung
- Tools & Troubelshooting
- PowerShell mit App-V

Image is not available
App-V Buch
previous arrow
next arrow

Windows Installaer XML Pyro Versionbug

Das Pyro Engine vom Windows Installer XML (WiX) hat einen bekannten Fehler. Mit der Installation eines MSP wird die Version nicht hochgesetzt. Der folgende Workaround (eine CustomAction) hat in meinem Projekt geholfen.

The Pyro Engine in Windows Installer XML (WiX) has a known bug. With the installation of an MSP the DisplayVersion entry version is not updated. The following workaround (a Custom Action) has helped in my project.

 

    <CustomAction Id="DisplayVersionOverride" Script="vbscript" Execute="deferred" Impersonate="no" Win64="yes"><![CDATA[
	'On Error Resume next
	Set wshShell = CreateObject("WScript.Shell")
	wshShell.RegWrite "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{46742e0e-39d3-4a31-b617-4324773c6022}\DisplayVersion", "1.1.0.0", "REG_SZ"
	If Err.Number <> 0 Then
      msgbox "Error in DoStep1: " & Err.Description
    End If
	]]>
    </CustomAction>
    <InstallExecuteSequence>
      <Custom Action="DisplayVersionOverride" After="RegisterProduct"><![CDATA[NOT REMOVE]]></Custom>
    </InstallExecuteSequence>

 

 

Weiterlesen
  18465 Aufrufe

Nick Informationstechnik GmbH
Dribusch 2
30539 Hannover

+49 (0) 511 165 810 190
+49 (0) 511 165 810 199

infonick-it.de

Newsletter

Anmeldung zum deutschen M.A.D. Newsletter mit Informationen zur Anwendungsvirtualisierung!