Store paths as hardcoded strings - 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!

JDMils
Posts: 50
Joined: Tue Aug 10, 2010 12:42 pm

Store paths as hardcoded strings

I've noticed that AI stores paths of objects within the installer project as relative paths in the project file in XML format. This is causing me issues when I move my source files to better locations and updated the references in the prohect GUI manually, but in some cases when compiling the project, AI shows an error that it cannot access the icon files referenced in the project. What had happened was I had moved the source files to a new location but when I checked the AI project file, only some of the paths had been updated- and I updated all the files in the project using the AI GUI!

I then modified the AI project XML file using Notepad which fixed the issue!? :shock:

|
+-- JDMils
+-- Advanced Installer V8.0
|
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Store paths as hardcoded strings

Hello,

By default all paths are relative to the project root path except when on a different drive. You can change this from the menu bar -> Project -> Options -> Project Paths tab. For more information please follow our user guide reference.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
JDMils
Posts: 50
Joined: Tue Aug 10, 2010 12:42 pm

Re: Store paths as hardcoded strings

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

Re: Store paths as hardcoded strings

You are welcome, glad to assist.

Best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”