Bug with Sequence number (!) - 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!

waspy
Posts: 64
Joined: Fri Oct 03, 2008 10:58 am

Bug with Sequence number (!)

Dear guys,
I've seen several posts here on the forum about Sequence number getting messed up, but nobody seems to be able to reproduce it. I'm experiencing the same problem in all versions including the latest one. I think that the problem is coming from the fact that the project files are editted manually from time to time. People insert or modify files outside the Advanced Installer. If I add a new file and assign sequence number greater than maximum + 1 (example: max sequence is 5 and I create new item with sequence="7") and then insert a new item - its sequence number will be 7 too!
I think apart this problem it would be a nice idea to create a function to resequence all files in case of corruption or perform it automatically when opening a file.

P.S. Could you please confirm if you can reproduce it?

Kind regards,
Alex
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Bug with Sequence number (!)

Hi,

We will consider adding this improvement in a future version of Advanced Installer. Thank you for your suggestion. Until then, you can try using the /AddFile command line option to add files to the project.

Please note that it is not recommended to edit the AIP file manually.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
waspy
Posts: 64
Joined: Fri Oct 03, 2008 10:58 am

Re: Bug with Sequence number (!)

Thank you Cosmin for the explanation.
Is there any way to fix (resequence) the correupted projects right now?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Bug with Sequence number (!)

Hi,

A solution is to remove all the files and add them again. Another approach would be to manually edit the project and set the sequences manually.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”