This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Controlling Updates?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jun 02, 2008
06:37 AM
Controlling Updates?
Hi all, i'm building an installer and have realised that when i do a fresh build it will change the upgrade code and attempt to do an upgrade - this is all well and good but when updgrading it just installs all the files on the target with no modification - for example my INI file is installed blank with none of the data i need in it.
Is it possible to choose which files to transfer on an upgrade, so i can leave the INI file and upgrade the .exe and dll's for example
Thanks in advance...
Is it possible to choose which files to transfer on an upgrade, so i can leave the INI file and upgrade the .exe and dll's for example
Thanks in advance...
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jun 02, 2008
08:55 AM
Have you thought of moving your INI file aside before the new files are copied into place and then move it back when it has finished? Maybe load the INI file into memory?
Of coarse this is a rough example of the List functions you could use. You would have to make the listTemp global and put the ListReadFromFile and the ListWriteToFile into two different event functions.
Hope these ideas help.
LIST listTemp;
begin
listTemp = ListCreate( STRINGLIST );
ListReadFromFile(listTemp, "MyFile.ini");
.
.
.
ListWriteToFile((listTemp, "MyFile.ini");
Of coarse this is a rough example of the List functions you could use. You would have to make the listTemp global and put the ListReadFromFile and the ListWriteToFile into two different event functions.
Hope these ideas help.
![](/skins/images/3B39CE851FDD5528C393F146EB70A2D0/responsive_peak/images/icon_anonymous_message.png)