How do i change my project's source path for all files - Advanced Installer Community
packman
Posts: 10
Joined: Thu May 22, 2014 5:14 pm

How do i change my project's source path for all files

Hi,

Great product, great forum.

Here we go.

The problem:
I created my project locally on a computer (including captured files) in a folder called "C:\Temp\MyProject". I then moved all the files to another drive so the new path is now "P:\MyProject". Whenever i try to compile my project now, it tells me that the "C:\Temp\..." files cannot be found and thus the project can no longer be compiled.

How can i change my path from "C:\Temp\MyProject\..." to "P:\MyProject\..." for all captured files?

What i tried:
I tried converting paths. I created a variable called "TEMPDIR" for the "C:\Temp" folder with the intention of changing it's definition afterwards to "P:" but i could not find it's definition in any table. Am i doing it wrong?


Thanks!
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: How do i change my project's source path for all files

Hello and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.

Indeed, in order to achieve what you want you can use our "Path Variables" support. Here are the steps to proceed:
- go to "Options -> Path Variables" menu option and add a path variable (e.g. TEMPDIR) which will point to your "C:\Temp\" folder
- go to "Home" tab and using the [Convert Paths] toolbar button run our convert paths wizard to convert all your files to use path variables
- save the project
- move your project files to "P:\MyProject" location
- go to "Options -> Path Variables" menu option and edit the "TEMPDIR" path variable to point to the "P:\" location
- rebuild your project

Let us know if this work, otherwise please give us a more details about your scenario.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
packman
Posts: 10
Joined: Thu May 22, 2014 5:14 pm

Re: How do i change my project's source path for all files

Much thanks for the prompt reply, your solution works like a charm! :D
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: How do i change my project's source path for all files

You're always welcome.

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

Return to “Common Problems”