[wpkg-users] Package design help
Paul McGrath
J.P.McGrath at leeds.ac.uk
Tue Sep 25 17:31:43 CEST 2007
Hi,
could someone please advise me where I am going wrong. I don't quite
understand the 'exit code' value
I want to delete these template files if they exist and then install the
application.
This package exits with non-successful value '1'.
I tried to add in exit values but got orphaned packages.
What do I need to do to get it to work?
<package
id="endnotex1"
name="Endnote X1 Volume License Edition"
revision="4" priority="2" reboot="false">
<check type="uninstall" condition="exists" path="EndNote X1
Volume License Edition" />
<install cmd='cmd /c del /s "%ProgramFiles%\Microsoft
Office\Office11\STARTUP\en10cwyw.dot" ' />
<install cmd='cmd /c del /s "%ProgramFiles%\Microsoft
Office\Office11\STARTUP\en10cwyw.wordxp.wll" ' />
<install cmd='cmd /c del /s "%ProgramFiles%\Microsoft
Office\Office11\STARTUP\en10cwyw.wll" ' />
<install cmd='cmd /c del /s "%USERPROFILE%\Application
Data\Microsoft\Word\STARTUP\en10cwyw.dot" ' />
<install cmd='cmd /c del /s "%USERPROFILE%\Application
Data\Microsoft\Word\STARTUP\en10cwyw.wordxp.wll" ' />
<install cmd='cmd /c del /s "%USERPROFILE%\Application
Data\Microsoft\Word\STARTUP\en10cwyw.wll" ' />
<install cmd='msiexec /i "%SOFTWARE%\endnotex1\enX1inst.msi" /l*
"%systemdrive%\netinst\enx.log" /quiet ' />
<install cmd='regsvr32 -s "%PROGRAMFILES%\Endnote
X1\Product-Support\CWYW\EndNote Cwyw.dll" ' />
<remove cmd='MsiExec.exe
/X{87F7773C-EC9C-461A-AA7B-4AF8EF54DF49} /qn ALLUSERS=1 REMOVE="ALL" '
/>
</package>
This is what I tried and it didnt work
<install cmd='cmd /c del /s "%ProgramFiles%\Microsoft
Office\Office11\STARTUP\en10cwyw.dot" ' />
<exit code="1" />
</install>
<install cmd='cmd /c del /s "%ProgramFiles%\Microsoft
Office\Office11\STARTUP\en10cwyw.wordxp.wll" ' >
<exit code="1" />
</install>
<install cmd='cmd /c del /s "%ProgramFiles%\Microsoft
Office\Office11\STARTUP\en10cwyw.wll" ' >
<exit code="1" />
</install>
<install cmd='cmd /c del /s "%USERPROFILE%\Application
Data\Microsoft\Word\STARTUP\en10cwyw.dot" ' >
<exit code="1" />
</install>
<install cmd='cmd /c del /s "%USERPROFILE%\Application
Data\Microsoft\Word\STARTUP\en10cwyw.wordxp.wll" ' >
<exit code="1" />
</install>
<install cmd='cmd /c del /s "%USERPROFILE%\Application
Data\Microsoft\Word\STARTUP\en10cwyw.wll" ' >
<exit code="1" />
</install>
Thanks
Paul
wpkg-users mailing list
wpkg-users at lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users
More information about the wpkg-users
mailing list