Where is the File Options Tab - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

sean.lannigan
Posts: 4
Joined: Mon Feb 27, 2012 5:09 pm

Where is the File Options Tab

This sounds like such a simple thing to do, but I am beyond frustrated and quickly running out of time. Below is a link to a page on the Advanced Installer User Guide that references a tab under the Edit File Options that allows me to change the copy options.

http://www.advancedinstaller.com/user-g ... ialog.html

I have searched EVERYWHERE within the program to find this page because there is one file that I want to enable "Never Overwrite Taget File" and I can't for the life of me find it. To backup a little bit, I created a package that was version 4.0.0 a few months ago. It was my first kick at using this software and at the time I thought it was very simple and exactly what I wanted. I have since made a few changes, changed it to 4.1.0 and when I select patch it just doesn't work. When I go to install the new version on a computer that has the original version it says it already exists and won't do it. So I reverted back to the original AIP file (so that I would have the same Product ID, and when I changed it to 4.1.0 I selected Major Upgrade instead. Now this works great (installs over top of the old version), but it overwrites a file that I don't want overwritten when the upgrade is installed because it contains data (its an Microsoft access file).

Can anyone point me in the right direction so that I am not forced to completely start over and in turn, force all my users to manually backup their datafile and restore it later. The program depends on the original access file to remain so it can upgrade the tables within it on first run, so I do not want to have to ask all my users to manually intervene to do something that should otherwise be very simple to do.

Any help would be greatly appreciated!!
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Where is the File Options Tab

Hi Sean and welcome to Advanced Installer forums,

That tab is specific to Windows Mobile projects.

If you need to preserve any resources during an upgrade, a simple solution is to use the Persistent User Data wizard( menu bar -> Resources -> Persistent User Data... ).
Another solution is to follow our "How do I prevent a file from being uninstalled or repaired?" user guide article.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sean.lannigan
Posts: 4
Joined: Mon Feb 27, 2012 5:09 pm

Re: Where is the File Options Tab

Thanks Mihai, I was afraid you were going to say that haha!!

So I have come to the realization that I cannot get away with using the Freeware version since that one feature that I NEED is only in the professional. Fortunately, I am a good sales guy and after looking at the other features that you gain with the Professional License I was able to sell the idea to Management to spend the $300 to get the required License. If it was only for that one single feature it would be a tough sell but I have got the approval to do it.

So my next question is this....

I have already rolled out what I called version 4.0.0 back in December using the freeware version so I was not able to use the Persistent User Data Wizard (PUDW because I don't want to type that over and over again haha) to preserve that file during future upgrades. Now I want to rollout version 4.1.0 and I will do that using the Professional version so am I going to be able to accomplish what I want by making the changes to version 4.1.0 or did the "PUDW" need to be done when 4.0.0 was created in order to support that function? From what I was reading, the Persistent User data Wizard is EXACTLY what I am looking for, but I am thinking this time around I will have to use your other solution (which also requires the Professional License) since the uninstall function of 4.0.0 is going to remove that file whether I like it or not. Am I understanding this correctly?

Sean
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Where is the File Options Tab

Hi Sean,

Actually if you use the wizard in the new version it will be enough.
Here's a related thread that debates this:
http://www.advancedinstaller.com/forums ... 369#p49811

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sean.lannigan
Posts: 4
Joined: Mon Feb 27, 2012 5:09 pm

Re: Where is the File Options Tab

Thanks for your help!

I did some testing over the last few days and I think I got it understood now. Because my original version 4.0.0 was created with the Free version of Advanced installer I didn't have the option to use the wizard to automate (or manually manipulate) the options under organization. So no matter what I do with the settings for version 4.1.0, that file that I want to stay can't because the uninstall of version 4.0.0 removes it whether I like it or not. I tried changing it to install first and then uninstall but it did the same thing. And that is fine because I have a temporary solution to fix that problem with this rollout and as long as every future version is set to never overwrite and make it permanent that file should never disappear (am I understanding this correctly so far)

However, I am a little confused about something. When I did a test upgrade to version 4.1.0 it removed the file during the uninstall of version 4.0.0 as expected (it basically removed everything from version 4.0.0), but I also expected that when it finished the uninstall that the installation of version 4.1.0 would install everything, but it skipped installing the file that was set to be permanent. If it is done as a straight install of 4.1.0 (without the presence of 4.0.0 prior to installation) it installed all the files including the one I want to stay permanently so I am not sure why the upgrade process didn't put the default file in place. I was under the impression that if it didn't exist, it would copy it, but if it did exist, it would skip it. I am not overly concerned about it because I am going to have to get users to backup that file, and then restore it after the upgrade is completed, I am just a little curious as to why.

I have done the test to confirm that it will do it properly from here on out after I roll out 4.1.0 either as an upgrade or a new install. Now that I have the professional version I am going to try to learn some of the other features (auto updates etc).
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Where is the File Options Tab

Hi Sean,
And that is fine because I have a temporary solution to fix that problem with this rollout and as long as every future version is set to never overwrite and make it permanent that file should never disappear (am I understanding this correctly so far)
This is also underlined in this post.
but it skipped installing the file that was set to be permanent.
If you have "Uninstall old version first and then install new version." option enabled, this shouldn't happen. Is this your case?
Now that I have the professional version I am going to try to learn some of the other features (auto updates etc).
Here's a good place to start.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sean.lannigan
Posts: 4
Joined: Mon Feb 27, 2012 5:09 pm

Re: Where is the File Options Tab

Thanks again Mihai for the information on the AutoUpdate feature. I will definitely be looking at that in the future!

I have successfully rolled out the new version this morning and so far so good! I was contemplating setting up the backup and restore function within the MSI but since it was a one time thing (future upgrades will leave the file alone which is what I want) I decided it would be faster to simply have the user backup and restore the file using a manual script that I wrote. Mission accomplished.

As for your other statement,
If you have "Uninstall old version first and then install new version." option enabled, this shouldn't happen. Is this your case?
it is set to Uninstall old version first and the install new version. Which is why it is puzzling me LOL :) Again, not a huge issue because the one-time manual restore script puts the correct one in place for this rollout, and clean installs place the file correctly because it doesn't exist so it will work for future installs. Just thought I would mention in case there was something else I did wrong. I did notice however that when I used the Wizard to set that file to be persistant that it defaulted to Install new version first, then uninstall old version, but I changed it since that is not the behaviour I want for future upgrades.

Thanks again for all your help, hopefully the next version in a few months will be much easier if I set it up correctly this time.

Sean

Return to “Common Problems”