Michael Mills schrieb:
> or I am wrong about how they are supposed to work.
>
> All,
> I have an application that installs as a windows app. and drops the following
> file:
> C:\Program Files\App\App.exe
>
> <package id="CofA" name="Certificate of Analysis" revision="1"
> priority="0" reboot="false" execute="once">
> <!-- In house application -->
> <check type="file" condition="exists" path="C:\Program
> Files\CofA\COFA.exe"/>
> <install
> cmd="\\mytexback1\wpkg\software\scripts\setups\qsetup_COA.exe" timeout="180">
> <exit code="0"/>
> </install>
> </package>
>
> I have uninstalled the application manually (without modifying the WPKG.XML)
> and it doesn't re-install.
> I removed the package reference in the WPKG.XML, and it re-installed the
> application.
> I then removed the package reference again, this time with the software still
> installed, and it ran the software installation script.
>
> I have verified the spelling, the directory, etc. I have tried putting
> single quotes in the check path, I am simply not sure how this is supposed to
> work.
>
What version of wpkg do you use?
You can test with the following package, if wpkg works as expected:
<packages>
<package
id="testbug28"
name="Test Bug 28"
revision="1"
reboot="false"
priority="9" >
<check type="file" condition="exists"
path="%ProgramFiles%\bugtest.txt" />
<install cmd='cmd /c "echo Bugtest >%ProgramFiles%\bugtest.txt' />
<upgrade cmd='cmd /c del /q "%programfiles%\bugtest.txt' />
<upgrade cmd='cmd /c "echo Bugtest2 >%ProgramFiles%\bugtest.txt' />
<!-- uncomment next line to test for bug #28 -->
<!-- <install -->
<remove cmd='cmd /c del /q "%programfiles%\bugtest.txt' />
</package>
</packages>
Please try WPKG 1.0-rc4 from http://wpkg.org/Download and provide a log
file with logLevel=0xFF.
HTH
Falko
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
-------------------------------------------------------
Easy Software Deployment >> http://wpkg.org
_______________________________________________
wpkg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wpkg-users