Brad Langhorst schrieb: > I'm a new user so I might have missed something in the documentation... > > I have a bunch of workstations that have tortoisesvn 1.4.3 installed. > i want to upgrade them to 1.4.4. > > if i add this task > <package id="tortoisesvn32" > name="tortoise svn client (32 bit)" > revision="144" > priority="0" > reboot="true" > execute="once"> > > <check type="uninstall" condition="exists" > path="TortoseSVN 1.4.4.9706 (32 bit)" /> > > <install cmd='msiexec /i \\rococo\wpkg\software > \TortoiseSVN-1.4.4.9706-win32-svn-1.4.4.msi /qb'/> > > <remove cmd='msiexec /x \\rococo\wpkg\software > \TortoiseSVN-1.4.4.9706-win32-svn-1.4.4.msi' /> > > <upgrade cmd='msiexec /i \\rococo\wpkg\software > \TortoiseSVN-1.4.4.9706-win32-svn-1.4.4.msi' /> > > </package> > > it seems to install on bootup, but it never is successfully installed... > so i end up in a reboot loop until i disable the package (which i guess > means tht the uninstall check is failing). > > In the event log it says that the process returned code 1641 and that > the install failed (but it looks like it worked to me). > is it safe to put in an <exit code="1641" /> value (seems to work)? 1641 means a reboot is needed. So just add that exit code, it's safe, and needed in fact. > Also ... how can i schedule the removal of the previous version 1.4.3 > before installing 1.4.4? > <upgrade cmd='msiexec /x \\rococo\wpkg\software > \TortoiseSVN-1.4.3.XXXX-win32-svn-1.4.3.msi' /> > <upgrade cmd='msiexec /i \\rococo\wpkg\software > \TortoiseSVN-1.4.4.9706-win32-svn-1.4.4.msi' /> -- Tomasz Chmielewski http://wpkg.org wpkg-users mailing list wpkg-users at lists.wpkg.org http://lists.wpkg.org/mailman/listinfo/wpkg-users |