clint
Posts: 135
Joined: Fri Jun 19, 2009 9:46 am
Location: Germany

Files and Folder Operations

Hi,
(it would be nice if on your Version History page, all update changes for all versions could be accessed on one page in extended view so when looking for a fix to a problem, the browsers search function could be used on everything at once).

I am still using AI 9.8 and looked through update bug lists of all versions following and didn't see a change concerning the following problem:

Problem example:
1. A certain folder has the "Overwrite if older" attribute set on the property Operation tab.

2. I then set the file Operations for two files in that folder, one to "Never Overwrite" and the other one to "Always overwrite".

3. Then on another day I went to the parent foler of those two files, and opened its Operations property page.
There I clicked "Never overwrite" and then immediately clicked "back to the previous state of "Overwrite if older", and then hit the Cancel button.

Problem: The operation of both files still changed to "Overwrite if older".
I believe this shouldn't happen if Cancel is clicked. Maybe an Apply button is needed there, or the file operation properties should first change when OK is clicked.

I had another folder with over a hundred files where this also happened similar (all marked originally as "Always overwrite")

I could imagine my frustration level if each of those hundred files had different settings and possibly even Conditional statements, which would also have been removed!!

This is not only could be very frustrating, but also dangerous.
For four of my files it is very critical that they never overwrite existing files. Those existing files are critical files and could even have newer change dates than those in the installation.

Thank you!

clint
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Files and Folder Operations

Hello Clint,
(it would be nice if on your Version History page, all update changes for all versions could be accessed on one page in extended view so when looking for a fix to a problem, the browsers search function could be used on everything at once).
Maybe we'll consider this improvement in a future version of Advanced Installer. Thank you for your suggestion.
Problem example:
1. A certain folder has the "Overwrite if older" attribute set on the property Operation tab.

2. I then set the file Operations for two files in that folder, one to "Never Overwrite" and the other one to "Always overwrite".

3. Then on another day I went to the parent foler of those two files, and opened its Operations property page.
There I clicked "Never overwrite" and then immediately clicked "back to the previous state of "Overwrite if older", and then hit the Cancel button.
I've tested the scenario using version 9.8 of Advanced Installer, but I cannot replicate the behavior. Can you please try to isolate the behavior in a buildable sample and send it us alongside a test case scenario to support at advancedinstaller dot com so we can further test and investigate this?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
clint
Posts: 135
Joined: Fri Jun 19, 2009 9:46 am
Location: Germany

Re: Files and Folder Operations

Hello Daniel,
clint:
(it would be nice if on your Version History page, all update changes for all versions could be accessed on one page in extended view so when looking for a fix to a problem, the browsers search function could be used on everything at once).
Daniel:
Maybe we'll consider this improvement in a future version of Advanced Installer. Thank you for your suggestion.
If the users could/would use this to search for answers prior to starting new threads, it may also help reduce the number of new threads started, thus reducing the need for AI to spend time investigating and responding.
(no further response to the above needed)



To my problem:
clint:
Problem example:
1. A certain folder has the "Overwrite if older" attribute set on the property Operation tab.

2. I then set the file Operations for two files in that folder, one to "Never Overwrite" and the other one to "Always overwrite".

3. Then on another day I went to the parent foler of those two files, and opened its Operations property page.
There I clicked "Never overwrite" and then immediately clicked "back to the previous state of "Overwrite if older", and then hit the Cancel button.
Daniel:
I've tested the scenario using version 9.8 of Advanced Installer, but I cannot replicate the behavior. Can you please try to isolate the behavior in a buildable sample and send it us alongside a test case scenario to support at advancedinstaller dot com so we can further test and investigate this?
Sorry. I clicked on the folder operations: "Always overwrite", and then immediately back to "Overwrite if older" and then at last I clicked "Cancel".
I see as soon as "Always overwrite" on the folder operations is clicked (without hitting OK), all the files flicker, which appears that they got changed without hitting OK and closing the dialog.

So, all the files operations apparently inherit the folders selected operation as soon as on the folder operation dialog page "Always overwrite" is clicked, without even leaving the page or hitting OK. And even when CANCEL is thereafter clicked, the files still inherit whatever the folder operation was last selected, though cancelled:

1. Folder has the operation "Overwrite if older selected.
2. File-"A" has the operation "Never overwrite" selected

3. Back again to the folder operation dialog page I click either:
"Overwrite if older" - "Always Overwrite" - "Overwrite if older" - "CANCEL"
or just
"Overwrite if older" - "Always Overwrite" - "CANCEL"

4. File-"A" still got changed from "Never overwrite", to (dependeing what was selected under #3) either "Overwrite if older" or "Always Overwrite"

If you still need a copy of my project, then just let me know.

Thank you,

c clint
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Files and Folder Operations

Hello Clint,

I've tested, using AI 9.8, the last scenario and I replicated the behavior. This seems to be an old Advanced Installer issue. However, I wasn't able to replicate the behavior using our last version of Advanced Installer (11.0). So, can you open your installation project in Advanced Installer 11.0 and see if the behavior still persist? If your maintenance plan doesn't cover the last version of Advanced Installer you can download and run it in trial mode.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
clint
Posts: 135
Joined: Fri Jun 19, 2009 9:46 am
Location: Germany

Re: Files and Folder Operations

Daniel wrote:
I've tested, using AI 9.8, the last scenario and I replicated the behavior. This seems to be an old Advanced Installer issue. However, I wasn't able to replicate the behavior using our last version of Advanced Installer (11.0). So, can you open your installation project in Advanced Installer 11.0 and see if the behavior still persist? If your maintenance plan doesn't cover the last version of Advanced Installer you can download and run it in trial mode.
Hallo Daniel,

Thank you.

Yes, my maintenance plan covers an upgrade.

I installed AI 11 in side-by-side mode, and the problem is corrected there.

Even though the customer is required to make back-ups prior to upgrades, this could still have been be devestating if I didn't catch the error and correct it in AI 9.8 (one file did get wronly replaced for several customers, but that wasn't so difficult to correct again).

I will leave my projects at v. 9.8 for now, and pay special care not to mistakedly click this folder operation because testing everything again intensively with a newer version is too time consuming:
I don't need any [more] new "surprises" at the moment.

When time allows, I will upgrade.

Best regards,

c clint
(a very satisfied AI customer!)
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Files and Folder Operations

You're welcome Clint. Also, we apologize for the related inconvenience.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”