tsellman
Posts: 24
Joined: Fri Sep 14, 2012 2:37 pm

unexpected auto-edit of ShortcutsDlg

Is this standard behavior? It does not seem correct. Using Advanced Installer 9.5.

I have an aip file that incorporates a ShortcutsDlg with values to 'show the Desktop' and
'show start Menu Programs folder' both selected. The Dialogs tab is the active screen when
exiting Advanced Installer.
Then on invocation of Advanced Installer, combined with a re-load of the project
using 'File' -> 'Open Recent Projects', as the screen image is populated, the 'ShortcutsDlg' is shown,
the title-bar of AI changes to indicated 'unsaved changes' (e.g. an asterisk), and the options as detailed
above are no longer checked.

This doesn't seem very gracious.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: unexpected auto-edit of ShortcutsDlg

Hello,

Here's the test case I've tried with our latest release Advanced Installer 9.5:
- create a new project
- go to Dialogs page and add ShortcutsDlg, check first four options from Shortcut Options tab
- close and save the project
- open Advanced Installer
- go to Open menu from Start Page
- select project from the list

The result is as expected, settings preserved. No sign of the behavior you mentioned.

Am I missing something?

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mhyllander
Posts: 11
Joined: Mon Oct 01, 2012 3:14 pm

Re: unexpected auto-edit of ShortcutsDlg

Hi,

I have the exact same problem, using Mihai's scenario. I created a new Professional project and added a ShortcutsDlg dialog. I selected all four options then saved and closed the project. When I re-open the project, all the options of the ShortcutsDlg are deselected and the project is marked as modified.

Magnus
Attachments
Screenshot after re-opening the project
Screenshot after re-opening the project
AIshdlg_error.png (152.01 KiB) Viewed 5193 times
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: unexpected auto-edit of ShortcutsDlg

Hi Magnus,

Thank you both for bringing this to our attention. It seems the behavior manifests on Professional project types only.

I added the fix on our TODO list and it will be available in a future version. A meanwhile workaround you can try is to open the project file(.AIP) directly and not through the file -> open menu.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mhyllander
Posts: 11
Joined: Mon Oct 01, 2012 3:14 pm

Re: unexpected auto-edit of ShortcutsDlg

Thank you Mihai, looking forward for the fix.

I tested some more and cannot see that it matters how the project is opened, whether it is through the Open menu item, the recent projects list, or by double-clicking the file in Windows Explorer.

I also saved the project under a new name after it was re-opened, then ran a diff to see what had changed. Please see the attached file:
test_diff.txt
(2.21 KiB) Downloaded 408 times
Regards,
Magnus
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: unexpected auto-edit of ShortcutsDlg

Hi Magnus,

Indeed the workaround I mentioned doesn't seems to be valid. I'm afraid it also means that there is none.
Our development team already included the fix in a future release so it will be available approximately a month from now if not sooner.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”