×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Mar 2003
    Location
    Berlin, Germany
    Posts
    45

    [sis] remove dir on uninstall

    hi,

    i have a sis installer which works fine. But my when my app is
    running it creates a special directory on the C: drive. On uninstall
    this directory is not removed since it is not C:\system\apps\myapp.
    But i need to removed C:\myapp\profile dir too.

    How can i delete a directory and its content on uninstall? Are there any statements
    for the pkg file?

    Regards

    Christoph

  2. #2
    Registered User
    Join Date
    Oct 2003
    Posts
    10
    Read the section how to make a pkg file. I remember that I read it is possible to specify files which are not existing at install time for a later uninstall.

    The other way is to define an empty file which will be installed (you can specify files in any direction in your pkg-file, not only in the application's folder). This makes sure that it'll be removed as well.

  3. #3
    Super Contributor
    Join Date
    Apr 2003
    Location
    Czech Republic
    Posts
    915
    This line in .PKG file causes removal of the file favorites.dat which was created by the app.

    "" -"!:\system\apps\MyApp\favorites.dat", FN

    But I don't know if it works also for directories...

  4. #4
    Registered User
    Join Date
    Mar 2003
    Location
    Berlin, Germany
    Posts
    45
    Thank you all. It work and even my directory gets deleted when its empty.

    regards

    Christoph

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×