/build/static/layout/Breadcrumb_cap_w.png

msi leaves files behind after uninstall

I have an msi that among other things puts and .ini file in the windows directory. When the user uses the software, this .ini file gets edited and some info is written to it.
When I remove the .msi from the machine, it removes everything (Program Files), but it leaves this .ini in the windows directory.
Is this b/c the file is edited, so the package no longer thinks it's one of the original files? I really need to remove this file b/c it's specific to the user.
Any help would be appreciated.

I'm using WPS 4.2

Thanks

0 Comments   [ + ] Show comments

Answers (2)

Posted by: cdorhout 19 years ago
Senior Yellow Belt
0
Well, I figured to get around this problem, I would just create a script that deletes that .ini before install. If the package had been on that machine before, the .ini would get deleted before the package was installed again.

Does anybody know where I should call my script to run it before the .msi starts the file copy. I know if you want a script to run at the end, you put it in Execute Deferred right before Finalize, but I don't know where to put scripts to run at the beginning.
Posted by: Gastro 19 years ago
Senior Yellow Belt
0
Have you put the ini-files in the same "place" as the rest of the files or in the "ini-files" place?
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ