IADIR not evaluating correctly

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

IADIR not evaluating correctly

Postby jsmith » Wed Dec 31, 2008 11:09 am

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

Postby jsmith » Thu Mar 12, 2009 9:10 am

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:

Postby MichaelNesmith » Thu Mar 12, 2009 11:38 am

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
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/

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

Postby jsmith » Thu Mar 12, 2009 11:53 am

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

Postby jsmith » Tue Mar 17, 2009 2:14 pm

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:

Postby MichaelNesmith » Tue Mar 17, 2009 5:44 pm

Ah, that's great to know. Yes, certainly - that would cause problems with InstallAware.
Michael Nesmith

InstallAware

Home of The Next Generation MSI Installer

Get your free copy today - http://www.installaware.com/

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

Postby jsmith » Wed Mar 18, 2009 10:37 am

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:

Postby MichaelNesmith » Wed Mar 18, 2009 3:28 pm

It's not considered a bug.
Michael Nesmith

InstallAware

Home of The Next Generation MSI Installer

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:

Postby Chris Miller » Fri Mar 20, 2009 2:21 pm

FWIW, that registry setting will cause all sorts of problems with other applications.

Ristogod
Posts: 15
Joined: Wed May 15, 2013 2:13 pm

Re: IADIR not evaluating correctly

Postby Ristogod » Wed May 15, 2013 2:30 pm

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

Postby FrancescoT » Thu May 16, 2013 5:24 am

Dear User,

could please verify if the following helps you?
http://www.installaware.com/forum/viewtopic.php?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

Postby Ristogod » Thu May 16, 2013 6:56 am

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

Postby FrancescoT » Thu May 16, 2013 9:34 am

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


Return to “Technical Support”

Who is online

Users browsing this forum: Bing [Bot] and 105 guests