http://bugzilla.wpkg.org/show_bug.cgi?id=184 --- Comment #4 from Peter Hoeg <peterhoeg at gmail.com> --- (In reply to comment #3) > I have just committed an update which is supposed to include an updated for > this as well. Please verify it using the code from SVN (WPKG 1.2.1-RC21): I haven't had a chance to test it out yet but I will later in the week. Awesome work though! > <package id='pidgin' name='Pidgin IM' revision='2.10.0'> > <commands> > <command type="install" include='prepare' /> > <command type="install" cmd='"%SOFTWARE%\install.cmd"' /> > <command type="install" include='cleanup' /> > > <command type="remove" include='prepare' /> > <command type="remove" cmd='"%SOFTWARE%\remove.cmd"' /> > <command type="remove" include='cleanup' /> > > <command type="upgrade" cmd='"%SOFTWARE%\upgrade.cmd"' /> > > <command type="downgrade" cmd='"%SOFTWARE%\downgrade.cmd"' /> > > <command type="prepare" cmd='"%SOFTWARE%\prepare1.cmd"' /> > <command type="prepare" cmd='"%SOFTWARE%\prepare2.cmd"' /> > > <command type="cleanup" cmd='"%SOFTWARE%\cleanup.cmd"' /> > </commands> > <install type="install" cmd='"%SOFTWARE%\install1.cmd"' /> > </package> > > In this example WPKG would launch the following commands during > installation; > - prepare1.cmd > - prepare2.cmd > - install.cmd > - cleanup.cmd > During remove the following commands would be run: > - prepare1.cmd > - prepare2.cmd > - remove.cmd > - cleanup.cmd You mention that old style commands like outside <commands> would be executed first. Where does that leave 'install1.cmd' in your example above? -- Configure bugmail: http://bugzilla.wpkg.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. |