Home > Archive > Smartphone Developer Forum > October 2005 > Applying patches to an app and making them uninstall
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Applying patches to an app and making them uninstall
|
|
| Daniel 2005-10-14, 7:57 am |
| If I add files to an application after it has been installed (an application
update etc.). Is it possible to uninstall these added files when the
application gets uninstalled?
The way I've started to look into this is by adding appropiate data to the
xml file with installation information that is stored in
\storage\windows\appmgr
Does someone have a better solution to this? :-)
Best regards,
Daniel
| |
|
| Daniel wrote:
> If I add files to an application after it has been installed (an application
> update etc.). Is it possible to uninstall these added files when the
> application gets uninstalled?
>
> The way I've started to look into this is by adding appropiate data to the
> xml file with installation information that is stored in
> \storage\windows\appmgr
>
> Does someone have a better solution to this? :-)
that should work - as long as you have permission to do so. The other
option is to write a setup.dll (example inthe SDK) and have some custom
datastore where updates list additional files, which is used by the
setup.dll on uninstall to remove those files
riki
Well, art is art, isn't it? Still, on the other hand, water is water!
And east is east and west is west and if you take cranberries and stew
them like apple-sauce they taste much more like prunes than rhubarb
does. Now, uh... Now you tell me what you know.
By Night:
ThemeChanger for Smartphone : http://homepages.inspire.net.nz/~gambit/
AbstractStart for Smartphone :
http://homepages.inspire.net.nz/~gambit/AbstractStart/
By Day: http://www.EmbeddedFusion.com
| |
| Daniel 2005-10-17, 3:57 am |
| I can't understand why I didn't think of using a setup.dll. That is a much
more simple and probably better way to handle it.
Thanks!
"riki" wrote:
> Daniel wrote:
>
> that should work - as long as you have permission to do so. The other
> option is to write a setup.dll (example inthe SDK) and have some custom
> datastore where updates list additional files, which is used by the
> setup.dll on uninstall to remove those files
>
> riki
>
>
> Well, art is art, isn't it? Still, on the other hand, water is water!
> And east is east and west is west and if you take cranberries and stew
> them like apple-sauce they taste much more like prunes than rhubarb
> does. Now, uh... Now you tell me what you know.
> By Night:
> ThemeChanger for Smartphone : http://homepages.inspire.net.nz/~gambit/
> AbstractStart for Smartphone :
> http://homepages.inspire.net.nz/~gambit/AbstractStart/
> By Day: http://www.EmbeddedFusion.com
>
|
|
|
|
|