Relative Path in Install Files

Got a problem you cannot solve? Try here.
Post Reply
smeyn
Posts: 12
Joined: Wed Jun 15, 2011 3:41 pm

Relative Path in Install Files

Post by smeyn »

Just updated to the newest version of Installaware and suddenly the relative paths in Install Files doesn't work. I am getting
Error during build: No files matching pattern "..\ClientInstall\Release\Single\clientinstall.exe"

tried to prefix with $PROJDIR$ but does not appear to work either:
Error during build: No files matching pattern "$PROJDIR$\..\ClientInstall\Release\Single\clientinstall.exe"

Any ideas?

Stephan
giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: Relative Path in Install Files

Post by giaviv »

Dear Stephan,

Have you moved your project by any chance?
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
smeyn
Posts: 12
Joined: Wed Jun 15, 2011 3:41 pm

Re: Relative Path in Install Files

Post by smeyn »

No it's in the same location. All I did was upgrade to the latest version.
giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: Relative Path in Install Files

Post by giaviv »

Hi,

Please use absolute paths instead - are you able to do so?
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
smeyn
Posts: 12
Joined: Wed Jun 15, 2011 3:41 pm

Re: Relative Path in Install Files

Post by smeyn »

yes, that's what I ended up doing. Not ideal but possible.

Cheers
prezmer
Posts: 31
Joined: Wed Jul 23, 2008 8:59 am
Location: Warsaw, Poland

Re: Relative Path in Install Files

Post by prezmer »

giaviv wrote:Hi,

Please use absolute paths instead - are you able to do so?
Hello,
What happened to "relative path" feature? AFAIR it was introduced in ver. 10. Did you decide to remove this feature or it's just a bug?
best regards
Piotr Rezmer
giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: Relative Path in Install Files

Post by giaviv »

Hi,

The feature was not removed and is still usable. The above error was probably caused due to misuse of the feature.
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
prezmer
Posts: 31
Joined: Wed Jul 23, 2008 8:59 am
Location: Warsaw, Poland

Re: Relative Path in Install Files

Post by prezmer »

giaviv wrote:Hi,

The feature was not removed and is still usable. The above error was probably caused due to misuse of the feature.
Does it also work for INI files? I want to install ini file on target computer. So I added the file to "Setup Architecture|Files", then imported existing ini file in "INI files". Got rid of irrelevant entries. Initially "Ini file path" contained $BOOTPATH$ variable. But then I was unable to install the app on test computer. I received an error with BOOTPATH message. Something like:

Could not access network location $BOOTPATH"
So I decided to replace $BOOTPATH$ with #PROJDIR#\..\..\bin Also didn't work. Finally changed to \..\..\bin, didn't work either. The error is

Could not access network location \..\..\bin
best regards
Piotr Rezmer
giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: Relative Path in Install Files

Post by giaviv »

Hey,

Could you please send your project over to support at installaware.com?

Thanks
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
smeyn
Posts: 12
Joined: Wed Jun 15, 2011 3:41 pm

Re: Relative Path in Install Files

Post by smeyn »

giaviv wrote:Hi,

The feature was not removed and is still usable. The above error was probably caused due to misuse of the feature.
Would you mind telling me how to avoid the misuse? I am following the documentation there.

Regards
giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: Relative Path in Install Files

Post by giaviv »

I'm not sure - I would have to get more details for you, it's just that it worked fine for me when I tested it out..
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Post Reply