Web Update, Deletes my ini file

Got a problem you cannot solve? Try here.
Post Reply
mehran
Posts: 20
Joined: Tue Apr 22, 2008 12:17 pm
Location: Canada

Web Update, Deletes my ini file

Post by mehran »

I have built a setup with web update. My application includes an .ini file, and keeps some settings in that (some of them are being set during installation, and some by my own EXE file).
When I do a web update, it install everything, it deletes everything in the installation folder (including my .ini file) and installs new files.
Any idea about how I can set it to keep my .ini file during update?
I don't want this file to be deleted each time I update the software.
Thanks
mehran
Posts: 20
Joined: Tue Apr 22, 2008 12:17 pm
Location: Canada

Post by mehran »

I also tried keep every install time settings persistent (set persistent variable...) but it doesn't work either, because before installing update "uninstall previous version" happens and deletes all persistent variables!
please help me.
jimo
Posts: 342
Joined: Fri Aug 19, 2005 10:59 am
Location: Atlanta, GA
Contact:

Post by jimo »

2 possibilities:
1. Mark it as a permanent file
2. Rename it before uninstall and then rename it back after uninstall
Jim Oswell
Software Engineering Manager, Dental
Greenway Health, LLC
http://greenwaymedical.com
Post Reply