[wpkg-users] strange %SOFTWARE% behaviour
jurgen.depicker at let.be
jurgen.depicker at let.be
Wed Feb 20 00:06:17 CET 2013
Dear all,
we just changed fileserver, and so I need to change the value of
%SOFTWARE% to reflect the new situation. We use wpkg and wpkg-gp.
Although I changed the %SOFTWARE% from the old IP (172.16.1.2) to the new
one (172.16.15.33), the old ip still sometimes shows up, which drives me
crazy...
demo package:
<package
id="office"
name="Microsoft Office 2013"
revision="201302192224"
reboot="false"
priority="10">
<variable name="PKG_VERSION" value="15" />
<variable name="PKG_SOURCE"
value="%SOFTWARE%\office\OFFICE2013\setup.exe"/>
<check type="uninstall" condition="exists" path="Microsoft Office
Standard 2013" />
<install cmd='cmd /c set SOFTWARE=%SOFTWARE%'/>
<install cmd='cmd /c %PKG_SOURCE%' ><exit code="1641" /><exit
code="3010" /><exit code="1" /></install>
<!--upgrade include="remove" /-->
<upgrade include="install" />
<remove cmd='cmd /c start "" /WAIT %PKG_SOURCE% /uninstall ProPlus '/>
</package>
Notice the install command i added for debugging: <install cmd='cmd /c set
SOFTWARE=%SOFTWARE%'/> which, as you can see in the log underneath, gets
expanded properly. The 'real' install command gets expanded badly, to the
old IP, even though I cannot find a declaration of SOFTWARE to that old IP
anywhere anymore... Basically, there are two problems: one line gets
expanded properly, another not, and that old ghost ip from the past
reappears... Anyone any ideas please?
Kind regards, Juergen
Extract from the log:
2013-02-19 23:54:32, DEBUG : WPKG 1.3.1-RC12 starting...
2013-02-19 23:55:15, DEBUG : Going to install package 'Microsoft Office
2013' (office), Revision 201302192224, (execute flag is '', notify flag is
'true').
2013-02-19 23:55:15, DEBUG : Package 'Microsoft Office 2013' (office):
Not yet processed during this session.
2013-02-19 23:55:15, DEBUG : Package 'Microsoft Office 2013' (office):
Not in local package database; Marking for installation.
2013-02-19 23:55:15, DEBUG : Package 'Microsoft Office 2013' (office):
Prepared for installation.
2013-02-19 23:55:15, DEBUG : Checking existence of package: Microsoft
Office 2013
2013-02-19 23:55:15, DEBUG : Reading variables from package 'Microsoft
Office 2013'.
2013-02-19 23:55:15, DEBUG : Got variable 'PKG_VERSION' of value '15'
2013-02-19 23:55:15, DEBUG : Got variable 'PKG_SOURCE' of value
'%SOFTWARE%\office\OFFICE2013\setup.exe'
2013-02-19 23:55:15, DEBUG : Reading variables from profile[s]
2013-02-19 23:55:15, DEBUG : Reading variables from hosts[s]
2013-02-19 23:55:15, DEBUG : Uninstall entry for Microsoft Office
Standard 2013 missing: test failed.
2013-02-19 23:55:15, DEBUG : Searching for previously executed checks
with attributes type='uninstall', condition='exists', path='Microsoft
Office Standard 2013'
2013-02-19 23:55:15, DEBUG : Unable to find any previously executed
checks with these attributes.
2013-02-19 23:55:15, DEBUG : Saving unsorted settings to
'C:\WINDOWS\system32\wpkg.xml'.
2013-02-19 23:55:15, DEBUG : Saving XML : C:\WINDOWS\system32\wpkg.xml
2013-02-19 23:55:15, INFO : Package 'Microsoft Office 2013' (office):
Not installed (checks failed). Preparing installation.
2013-02-19 23:55:15, DEBUG : Installation of references (dependencies)
for 'Microsoft Office 2013' (office) successfully finished.
2013-02-19 23:55:15, INFO : Installing 'Microsoft Office 2013'
(office)...
2013-02-19 23:55:15, DEBUG : Reading variables from package 'Microsoft
Office 2013'.
2013-02-19 23:55:15, DEBUG : Got variable 'PKG_VERSION' of value '15'
2013-02-19 23:55:15, DEBUG : Got variable 'PKG_SOURCE' of value
'%SOFTWARE%\office\OFFICE2013\setup.exe'
2013-02-19 23:55:15, DEBUG : Reading variables from profile[s]
2013-02-19 23:55:15, DEBUG : Reading variables from hosts[s]
2013-02-19 23:55:15, DEBUG : Install type: install
2013-02-19 23:55:15, DEBUG : Fetched 2 install command(s).
2013-02-19 23:55:15, DEBUG : Executing command: 'cmd /c set
SOFTWARE=%SOFTWARE%' ('cmd /c set SOFTWARE=\\172.16.15.33\install').
2013-02-19 23:55:16, DEBUG : Command in installation of Microsoft Office
2013 returned exit code [0]. Success.
2013-02-19 23:55:16, DEBUG : Executing command: 'cmd /c %PKG_SOURCE%'
('cmd /c \\172.16.1.2\install\office\OFFICE2013\setup.exe').
2013-02-19 23:55:17, INFO : Command 'cmd /c %PKG_SOURCE%' returned exit
code [1]. This exit code indicates success.
2013-02-19 23:55:17, INFO : Command in installation of Microsoft Office
2013 returned exit code [1]. This exit code indicates success.
2013-02-19 23:55:17, DEBUG : Checking existence of package: Microsoft
Office 2013
2013-02-19 23:55:17, DEBUG : Reading variables from package 'Microsoft
Office 2013'.
2013-02-19 23:55:17, DEBUG : Got variable 'PKG_VERSION' of value '15'
2013-02-19 23:55:17, DEBUG : Got variable 'PKG_SOURCE' of value
'%SOFTWARE%\office\OFFICE2013\setup.exe'
2013-02-19 23:55:17, DEBUG : Reading variables from profile[s]
2013-02-19 23:55:17, DEBUG : Reading variables from hosts[s]
2013-02-19 23:55:17, DEBUG : Uninstall entry for Microsoft Office
Standard 2013 missing: test failed.
2013-02-19 23:55:17, DEBUG : Searching for previously executed checks
with attributes type='uninstall', condition='exists', path='Microsoft
Office Standard 2013'
2013-02-19 23:55:17, DEBUG : Found 1 previously executed checks.
2013-02-19 23:55:17, DEBUG : Replacing check results of previous
evaluation
2013-02-19 23:55:17, DEBUG : Saving unsorted settings to
'C:\WINDOWS\system32\wpkg.xml'.
2013-02-19 23:55:17, DEBUG : Saving XML : C:\WINDOWS\system32\wpkg.xml
2013-02-19 23:55:17, ERROR : Could not process (install) Microsoft
Office 2013.|Failed checking after installation.
2013-02-19 23:55:17, DEBUG : Cleaning up temporary downloaded files
2013-02-19 23:55:17, DEBUG : Restoring previous environment.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20130220/198d2426/attachment-0002.html>
More information about the wpkg-users
mailing list