Relative Path in Install Files

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

Relative Path in Install Files

Postby smeyn » Thu Jun 30, 2011 8:00 pm

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

Postby giaviv » Thu Jun 30, 2011 10:02 pm

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

Postby smeyn » Sun Jul 03, 2011 5:50 pm

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

Postby giaviv » Sun Jul 03, 2011 6:31 pm

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

Postby smeyn » Tue Jul 05, 2011 3:37 pm

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

Postby prezmer » Fri Jul 08, 2011 11:06 am

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

Postby giaviv » Fri Jul 08, 2011 11:11 am

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

Postby prezmer » Fri Jul 08, 2011 12:24 pm

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

Postby giaviv » Fri Jul 08, 2011 4:43 pm

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

Postby smeyn » Tue Jul 12, 2011 6:53 pm

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

Postby giaviv » Tue Jul 12, 2011 8:08 pm

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


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 70 guests