QUICKLAUNCHDIR is empty?

Got a problem you cannot solve? Try here.
Post Reply
Bjarne
Posts: 100
Joined: Mon Apr 07, 2008 2:38 am
Contact:

QUICKLAUNCHDIR is empty?

Post by Bjarne »

Hi all,
I recently had an issue at a customer where the QUICKLAUNCHDIR returned empty in a Win7 x86 machine which caused the entire installation to fail. The same installer works perfectly on numerous other machines so I don't think it's a general issue. I added an extra check when creating the shortcut so it was easily fixed in the installer itself.

I wonder what could cause the variable to be empty in the first place? And is it really ok for the installer to fail and roll back when failing to create a shortcut?
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: QUICKLAUNCHDIR is empty?

Post by FrancescoT »

Dear Bjarne,

the only possible cause that comes to mind, .... probably exist something with your script that in some circumstances, causes the variable to be empty

Are you able to find out any possible useful information to reproduce it?
Have you tried to use a MessaggeBox to display the variable value where it is assigned in your script?

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
Bjarne
Posts: 100
Joined: Mon Apr 07, 2008 2:38 am
Contact:

Re: QUICKLAUNCHDIR is empty?

Post by Bjarne »

I have no clue why this occurred and how to reproduce it :(

The installer log shows "QUICKLAUNCHDIR,," in the '*** Variables ***' section (the empty space between the comma's should include a physical directory path)
Its not "my script", its a part of the native IA script (Get Folder Location), see below.

~InstallAware Clipboard Data~
~Get Folder Location~
~{FDB6CD06-E938-4352-B620-08515F306CE7}~
~QUICKLAUNCHDIR~
~26~
~FALSE~
Get Folder Location
Get Folder Location
IAQL.png (15.58 KiB) Viewed 4351 times
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: QUICKLAUNCHDIR is empty?

Post by FrancescoT »

Dear Bjarne,

As you can understand, it is not really easy to help you ... possibly it is a very simple cause generating the issue.

I can only suggest you to try to debug the problem even creating a sample project just to test the Get Folder Location command with that machine.

lately there have been several cases due to AV applications problem ... doesn't seems related to your case ... but you could easly verify it.

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