IADIR not evaluating correctly

Got a problem you cannot solve? Try here.
Post Reply
jsmith
Posts: 178
Joined: Tue Nov 04, 2008 10:47 am

IADIR not evaluating correctly

Post by jsmith »

A developer at our site has just installed InstallAware and tried to build the setup using the project I authored. However, it is warning that it cannot find the .NET 2 SP1 and Visual C++ runtimes. The warnings say:

"WARNING! No files matching wildcard pattern C:\\PROGRA~1\\InstallAware\\InstallAware\\runtimes\\vc8bin\\*.*"

and

"WARNING! No files matching wildcard pattern C:\\PROGRA~1\\InstallAware\\InstallAware\\runtimes\\net2sp1bin.7zip"


He has IA installed to "C:\\Program Files\\InstallAware\\InstallAware 8\\." Notice how the warning is missing the " 8" from the path. This is coming from the setupvc8 and setupnet2sp1 scripts that are part of InstallAware. The scripts are getting the path using #IADIR#. Apparently #IADIR# is not evaluating correctly on his system. Why might this be?

Thanks.
jsmith
Posts: 178
Joined: Tue Nov 04, 2008 10:47 am

Post by jsmith »

Another developer here has just seen this same problem. Has anyone else seen this? Perhaps someone from InstallAware could weigh in here...

Install aware is installed to its default location:

C:\\Program Files\\InstallAware\\InstallAware 8But when he builds the installer, it's looking for the runtimes in:

C:\\Program Files\\InstallAware\\InstallAwareInstallAware is not expanding the pre-defined compiler variable, IADIR, correctly. The error is coming from the setupvc81 script which is part of the default InstallAware program. It's not coming from a custom script.
using InstallAware 9 R2 (Build Moya.sp3.070910)
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

You should check exactly what path #IADIR# is resolving into. For instance, try to display a MessageBox with #IADIR#.

Also check if short path names are enabled on the affected systems.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
jsmith
Posts: 178
Joined: Tue Nov 04, 2008 10:47 am

Post by jsmith »

Thanks, Michael. Will do and will post back with results...
using InstallAware 9 R2 (Build Moya.sp3.070910)
jsmith
Posts: 178
Joined: Tue Nov 04, 2008 10:47 am

Post by jsmith »

Michael,

I just realized I forgot to post back to here with what I found. Both developers that saw this problem have the following reg value set to 1:

HKLM\\SYSTEM\\CurrentControlSet\\Control\\FileSystem\\NtfsDisable8dot3NameCreation

The default is 0. Is having this set to 1 known to cause issues with IA?
using InstallAware 9 R2 (Build Moya.sp3.070910)
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

Ah, that's great to know. Yes, certainly - that would cause problems with InstallAware.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
jsmith
Posts: 178
Joined: Tue Nov 04, 2008 10:47 am

Post by jsmith »

Thanks, Michael. Is this a known issue that's documented for IA? Is it a considered to be a bug that will be fixed in a future release?
using InstallAware 9 R2 (Build Moya.sp3.070910)
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

It's not considered a bug.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Chris Miller
Posts: 66
Joined: Fri Mar 09, 2007 9:46 am
Location: Albany, NY
Contact:

Post by Chris Miller »

FWIW, that registry setting will cause all sorts of problems with other applications.
Chris Miller
[url=http://www.versatrans.com]Tyler Technologies[/url]
[url=http://anotherlab.rajapet.net]My blog[/url]
[url=http://www.linkedin.com/in/christophermiller]My LinkedIn profile[/url]
Ristogod
Posts: 15
Joined: Wed May 15, 2013 2:13 pm

Re: IADIR not evaluating correctly

Post by Ristogod »

Can anyone comment how to fix this issue? I am experiencing the same problem. I set the registry setting back to the default value. However when it tries to get runtimes, it still tries to access C:\PROGRA~2\InstallAware\InstallAware instead of C:\PROGRA~2\InstallAware\InstallAware 15\

I can't seem to find where I can fix this bug myself? I searched the registry for the incorrect value that InstallAware assumed, but cannot locate it. I tried doing a repair install for InstallAware, but that did not seem to fix it. Can anyone help?
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: IADIR not evaluating correctly

Post by FrancescoT »

Dear User,

could please verify if the following helps you?
http://www.installaware.com/forum/viewt ... f=2&t=9469

Regards.
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Ristogod
Posts: 15
Joined: Wed May 15, 2013 2:13 pm

Re: IADIR not evaluating correctly

Post by Ristogod »

It helped in letting me understand the bug. I was able to fix my problem due to the bug by doing a full uninstall/reinstall after enabling 8.3 file naming.
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: IADIR not evaluating correctly

Post by FrancescoT »

I'm happy you solved.

Regards
Francesco Toscano
InstallAware Software

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