[wpkg-users] package is run one more time after removal

simplesi siwalters at hotmail.com
Wed Jun 3 17:35:19 CEST 2009



Falko Trojahn-2 wrote:
> 
> 
> what I understand here is:
> 
> * you have package with "execute=always"
> 
> * you complain about: if this package is removed from the profile,
>   wpkg should do nothing, if there is no uninstall entry
> 
> Is this understanding correct?
> 
yes


> If yes: please have a look at the "/noforcedremove" and "/noremove"
> parameters
> <\quote>
> these seem to have no effect
> 
> 
>> So, if you remove the package from the profile or the profile (containing
>> this package) from the host - why should wpkg leave the package in it's
>> wpkg.xml?
>> 
> Because I have not specfied any uninstall commands - therefore my logic
> says that WPKG should do nothing.
> I would very much prefer that it does not doing anything, but IMHO it
> should certainly not attempt to run the package one more time :)
> 
> 
>> Could you please provide examples of your xmls (only the concerned
>> sections would be ok)
>>  and full debug log when this situation is in effect:
>> 
>> - hosts.xml, profiles.xml, packages.xml
>> - wpkg.xml
>> - full log (using logLevel=0xFF)
>> 
> host.xml
> <wpkg>
>     <host name="SIMPLE" profile-id="simple" />
> </wpkg>
> 
> profile.xml
> <profiles>
> 	<profile id="simple">
> 		<package package-id="runchoose" />
> 		<!--	
> 		<package package-id="bginfo" />
> 		<package package-id="autologonpupilnull" />
> 	-->
> 
> 	</profile>
> </profiles>
> runchoose.xml
> <packages>
>     <package
> 		id="runchoose"
> 		name="Run Choose"
> 		revision="1"
> 		reboot="false"
> 		priority="100"
> 		notify="false"
> 		execute="always">
> 		<install cmd="c:\lconfig\choose\choose.lnk" />
>     </package>
> </packages>
> 
> wpkg.xml (when runchoose.xml used in profile)
> <wpkg><package id="runchoose" name="Run Choose" revision="1"
> reboot="false" priority="100" notify="false" execute="always">
> 		<install cmd="c:\lconfig\choose\choose.lnk"/>
> 	</package>
> </wpkg>
> and it becomes empty after runchoose.xml is removed from the profile and
> wpkg.js run
> 

regards

Simon
-- 
View this message in context: http://www.nabble.com/package-is-run-one-more-time-after-removal-tp23834091p23853830.html
Sent from the WPKG - Users mailing list archive at Nabble.com.




More information about the wpkg-users mailing list