Re: Packages - how to make an uninstaller?
Re: Packages - how to make an uninstaller?
- Subject: Re: Packages - how to make an uninstaller?
- From: Stephen Kay <email@hidden>
- Date: Sun, 26 Mar 2017 12:14:04 -0700
- Thread-topic: Packages - how to make an uninstaller?
Thanks for the reply and the suggestion.
What I really need to see is an example script for removing installed
files. I don't know a lot about command line scripting, but if I have some
examples to follow I can grok it out. I know how to remove files i.e. 'rm'
but I'm sure there are other issues such as using sudo at the right times
and so on... Also, determining where the user installed the files if a
choice is involved...
If you have a script to share or a pointer to an example, would be much
appreciated.
Thanks,
- Stephen
On 3/25/17 5:58 PM, "Conor Schutzman" <email@hidden> wrote:
>I make a payload-free raw flat package. I use the "preinstall" script in
>Packages to script out a removal of the files my install package added
>(this obviously varies greatly by software title). I then use a
>"postinstall" script in Packages to script a 'pkgutil --forget" command
>for the package identifier of the install package.
>
>> On Mar 25, 2017, at 5:53 PM, Stephen Kay <email@hidden> wrote:
>>
>> (Sorry, reposting with correct title).
>>
>> How does one write an uninstaller for a Packages installer?
>>
>> Thanks,
>> - Stephen
>>
>>
>>
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Installer-dev mailing list (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden