no-picture.jpg and updating Advanced Installer - Advanced Installer Community
nanson
Posts: 5
Joined: Wed Sep 12, 2012 10:01 pm

no-picture.jpg and updating Advanced Installer

This has been an issue for at least the last 2 updates (9.3 to 9.4 and 9.4 to 9.5). After downloading and installing the update, trying to build an old project will fail because the path to no-picture.jpg is still pointing to the old directory. Even if you change the value in the Table Editor >> Binary >> nopicutre.jpg to the correct directory, it will still point to the old one. I can work around this by making a copy of the directory it needs to point to and rename it as the directory it wants to point to. Otherwise I have to recreate my project from scratch.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: no-picture.jpg and updating Advanced Installer

Hi and welcome to Advanced Installer forums,

You can try using Path Variables. Their purpose is to avoid such unwanted scenarios.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
nanson
Posts: 5
Joined: Wed Sep 12, 2012 10:01 pm

Re: no-picture.jpg and updating Advanced Installer

From what I understand, you cannot use Path Variables for the Binary Table. (see dev response in http://www.advancedinstaller.com/forums ... =2&t=28420) Also, why doesn't the binary table update when I change it? Every time I go to rebuild with the above scenario, the binary table value still points to the old directory even though I have edited the table to point to the new directory.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: no-picture.jpg and updating Advanced Installer

Hello,

I'm afraid I don't fully understand what is the behavior you are encountering? Can you please give us more details about your scenario (maybe exemplify) and what you are trying to achieve?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
nanson
Posts: 5
Joined: Wed Sep 12, 2012 10:01 pm

Re: no-picture.jpg and updating Advanced Installer

Create/build project from older AI installation (9.9)
Update/install new version of AI (11.2)
Open project made from older version
Build:
Checking builds status... done.
error.
Resources referred by the project are missing.

C:\Program Files (x86)\Caphyon\Advanced Installer 9.9\resources\no-picture.jpg
Double click the error on the Issue List
Change the value for nopicture.jpg in the Binary table editor (I've tried each way to change the value from clicking in the field to right-clicking and doing edit, etc.)
Save/rebuild and get the same error
Close/reopen then rebuild and get the same error

I've only been able to work around this by recreating the old 9.9 directories with the new file from the 11.2 installation. Changing the Binary table in the Table Editor doesn't do anything and this is the only file that seems to hold onto its old install directory, every thing else is fine.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: no-picture.jpg and updating Advanced Installer

Hello,

Can you please send us the problematic .aip (project file) to support at advancedinstaller dot com so we can investigate and try to fix it? If your .aip contains private information and you cannot share it with us, then you can try to isolate the behavior in a new test project and send it us alongside a test case scenario so we can investigate .

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

Return to “Common Problems”