[wpkg-users] [Bug 243] Empty variable value causes crash
Stefan Pendl
stefan.pendl.71 at gmail.com
Sat Oct 15 22:38:55 CEST 2011
>
> So you claim you can enforce a crash with nothing more than
> just an empty value
> defined. Could you send me the package, host or profile
> specification which is
> causing this? As you know variables can be specified in
> multiple places and I
> might just have tested a different one than you.
>
Rainer,
Find the package below.
I am currently updating my packages to use inline expansion of package variables.
---
Stefan
<package id="WpkgClient"
name="WPKG Client"
revision="%PKG_VERSION%"
reboot="false"
priority="999">
<variable name="PKG_NAME" value="WpkgClient" />
<variable name="PKG_VERSION" value="1.3.14" />
<variable name="PKG_EXE_VERSION" value="1.0.0.22" />
<variable name="PKG_SOURCE" value="%SOFTWARE%\WPKG\WPKG Client\WPKG Client
%PKG_VERSION%-%PROCESSOR_ARCHITECTURE%.msi"/>
<variable name="PKG_DESTINATION" value="%ProgramFiles%\wpkg"/>
<variable name="PKG_INSTALL_SWITCH" value='ALLUSERS=1 SETTINGSFILE="%WPKG_ROOT%\settings.xml"'/>
<variable name="PKG_REMOVE_SWITCH" value=""/>
<check type="uninstall" condition="versiongreaterorequal" path="WPKG" value="%PKG_VERSION%" />
<check type="file" condition="versiongreaterorequal" path="%PKG_DESTINATION%\wpkginst.exe" value="%PKG_EXE_VERSION%" />
<install cmd='MsiExec.exe /passive /norestart /log "%TMP%\%PKG_NAME%.log" /i "%PKG_SOURCE%" %PKG_INSTALL_SWITCH%' >
<exit code="1641" />
<exit code="3010" reboot="false"/>
</install>
<upgrade include="install" />
<remove cmd='MsiExec.exe /passive /norestart /log "%TMP%\%PKG_NAME%.log" /x "%PKG_SOURCE%" %PKG_REMOVE_SWITCH%' />
</package>
More information about the wpkg-users
mailing list