digitalrinaldo
Posts: 88
Joined: Sun Jan 13, 2013 2:51 am

Building on Windows and Mac

I would like to build on windows and mac ( using vmware fusion) and I have different directories on windows. I have spent time trying to get it to all work but I am not succeeding. I have tried the following.
  • Using Path Variables I don't see to be able to set the Path Variable after the code has been analzed and it asks for a location
    Adding my Files dynamically so the the paths are correct
Is there some easy way to set the path for the entire build so everything is relative to that directory.
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Building on Windows and Mac

Hello,

I'm afraid I don't fully understand your scenario. Can you please give us more details about this (maybe exemplify)? If you want that all files used in your project to be referred relative to your project path, you can go to "Home -> Options -> Project Paths" tab and choose relative paths option.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
R.Mueller
Posts: 202
Joined: Thu Aug 02, 2012 3:31 pm

Re: Building on Windows and Mac

Hi digitalrinaldo,

References to the setup files are relative to the project file per default, as long as they are saved on the same drive as the project file. This behavior can be set or changed in Project Settings:
ProjectSettings.png
ProjectSettings.png (24.11 KiB) Viewed 6590 times
Furthermore you can use path variables to easily change the source of multiple setup files in one step (like you want to include sometimes version 1 or version 2 of some third party tool files into your setup). But if you would like to build your setup from a different source locations, you just have to keep the overall project structure intact. Then you don't have to use path variables.

Regards,

Roland
digitalrinaldo
Posts: 88
Joined: Sun Jan 13, 2013 2:51 am

Re: Building on Windows and Mac

Starting Conditions
  • Advanced Installer is installed in a VMware VM
    the directory for building is on a Mac
    The VM has access to the SecurePrint.aip file via the Z drive
    The extract path wizard has been run
From the Mac I run a command to build the package and it cannot find the JRE. Advanced installer is pre prending Z:/disk

I get the following error. How do I prevent this?


Resources referred by the project are missing.

Z:\disk\Program Files (x86)\Java\jre7\COPYRIGHT
Z:\disk\Program Files (x86)\Java\jre7\LICENSE
Z:\disk\Program Files (x86)\Java\jre7\PATCH.ERR
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Building on Windows and Mac

Hello,

I'm not sure why this happens. Can you please go to "Java Products -> Settings", pick again the JRE folder in the "JRE Bundle" dialog and see if the behavior still persist?

If so, can you please send us the .AIP (project file) to support at advancedinstaller dot com so we can investigate it? Also please specify the entire path of your .aip on your machine.

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

Return to “Common Problems”