Yet Another Relative Path Problem - Advanced Installer Community
jsfetzik
Posts: 4
Joined: Fri Nov 02, 2012 5:28 pm

Yet Another Relative Path Problem

We use separate build folders for each version of the MSI we create. This folder contains the .aip file and a folder called deployment, along with the -cache and -SetupFiles.

All of these build folders is under a parent folder for a specific application.

To create a MSI for a new version I do the following.
  1. Navigate to the application folder, i.e. RepMon, in Windows Explorer.
  2. Copy the previous build folder, i.e. RepMon_4.14.0.
  3. Rename the copied folder from "RepMon_4.14.0 - Copy" to "RepMon_4.16.0".
  4. Rename the aip file to from RepMon_4.14.0 to RepMon_4.16.0.aip.
  5. Open the aip file in Advanced Installer.
  6. On the Product Details screen change the Product Name and Product Version to reflect the new version number.
  7. Save and build MSI.
The problem I am having is that when I look at the Files and Folders Resources screen the paths of all the files point to the older folder.

In Options my Project Settings are set to use relative paths. The "Except when outside of project root..." radio button is selected and "Project Root Path" does point to the new folder location.

My project mostly uses synchronized folders, instead of individual files. When I look at the Sychronize tab of the folders properties it shows the "Source folder" as the old location.

I have tried copying the build folder to different locations and different machines, with the same result of the paths not really being relative.

I have seen the same result with multiple versions, 11 and 12, of Advanced Installer. I currently have 12.1 installed.

I have searched the forums and tried various solutions mentioned, but the problem persists.

This process used to work fine, but now does not. Am I doing something incorrectly with this process?
jsfetzik
Posts: 4
Joined: Fri Nov 02, 2012 5:28 pm

Re: Yet Another Relative Path Problem

I have found another piece of information. If I go back a couple of versions and copy RepMon_4.10.0 and copy it the relatives paths feature works. The versions after that do not maintain relative paths correctly.

The settings under Options look to be the same for both the working and non-working .aip files.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Yet Another Relative Path Problem

Hello,

First of all I apologize for my delayed reply. I've tested your working scenario using AI 12.1, but I wasn't able to replicate the behavior. Can you please send us the .AIPs (project files) of "RepMon_4.14.0" and "RepMon_4.16.0" folders to support at advancedinstaller dot com so we can take a look over them?

To easier troubleshoot this issue, it will be very useful for us if you could isolate the behavior in a small buildable sample (.aip + its referenced files) and send it us to support at advancedinstaller dot com so we can investigate.

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

Return to “Common Problems”