site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Thread-index: AclQAKl0RzY7OQ2dTEOR1Ohj6wcqawAAFBHA Thread-topic: What is the best way to congifure a pmdoc file to carry out an upgrade if an older version of the product is found by the installer? This functionality is built into the install process. If you check your log you should see it removing files that are not longer require and files being upgraded. Are you trying to remove files that are not created by the install? Adam -----Original Message----- From: installer-dev-bounces+adampeck=smarttech.com@lists.apple.com [mailto:installer-dev-bounces+adampeck=smarttech.com@lists.apple.com] On Behalf Of OSullivan, Steve Sent: Wednesday, November 26, 2008 12:54 PM To: installer-dev@lists.apple.com Subject: What is the best way to congifure a pmdoc file to carry out an upgrade if an older version of the product is found by the installer? I am trying to create an installer (using the PM 3.x GUI) that is smart enough to remove an older version of my program if the installer finds one during the installation process. So far, I am trying to implement this with a preupgrade script that looks for the (possibly) installed file and then removes it and its prefs. At that point, I expect the installer to install the new version. However, the preupgrade script never seems to execute, and in my install.log, I see reference to 'skipping MyApplication'. I hope that this isn't too vague. I am trying to make the move over from working with packagemaker strictly on the command line to using the gui to make a pmdoc and run that from the command line to get around the 'relocate' problem that I have read about (and experienced)> Thanks for any and all advice. Regards, Steve O'Sullivan _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/adampeck%40smarttec h.com This email sent to adampeck@smarttech.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com