Welcome, Guest
Username Password: Remember me

Deleting files prior to install
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Deleting files prior to install

Deleting files prior to install 2 years, 4 months ago #491

  • jon
  • OFFLINE
  • Senior Boarder
  • Posts: 48
  • Karma: 0
Hi, I'm just evaluating commercial use of this product. It seems to do most things that we want, except I haven't worked out how to delete existing files prior to install (these are files that won't be installed as part of the installation so we can't just overwrite with newer versions, these are file remnants from previous versions of our app).

If we are upgrading an existing installation of our app, we'd like to delete a couple of existing files before running the installer (e.g. out of date config/data files).

Is there a way of doing this with the PPC IC, or do we have to roll our own custom installer?

Tips appreciated

Jon

Re:Deleting files prior to install 2 years, 4 months ago #492

  • nick_tg
  • OFFLINE
  • Moderator
  • Karma: 5
Hi Jon,

First, thanks for your interesting about PPCIC.

If you mean to delete the files at windows mobile side, there isn't any way to do this with the standard CAB files. Only with a custom setupdll.dll embedded into the installation. You can see the copy file flags into file properties into CAB Creator Module. (see the screenshot)

If you mean at Windows side, then the answer is yes. You can use the file "Delete After Install" flag into Win32 Module.

Regards,
Nick Protopapas
Attachments:

Re:Deleting files prior to install 2 years, 4 months ago #493

  • jon
  • OFFLINE
  • Senior Boarder
  • Posts: 48
  • Karma: 0
Hi Nick, thanks for the quick and helpful response. Sorry, I meant on Windows Mobile side, even removing the existing app directory would be good enough in our situation.

Let's say my app is going to installed on the device. If the app directory already exists at install time (on the device), delete it and then replace with the install version (all my app files are in the app folder tree so dropping the folder first gets rid of any left-overs from previous app versions and ensures a clean install).

Yes, we went down the custom DLL route before evaluating your prooduct (it was time consuming making our own, so we thought we'd look at buying a third party tool)

Regards


Jon
  • Page:
  • 1
Time to create page: 0.25 seconds