ashraf798
Posts: 11
Joined: Mon Apr 23, 2012 10:58 am

Creating junction in GAC instead of Directory

Hi,
I created a package in Advanced Installer in mixed 32/64 bit platform mode. Now my installer is suppose to put 3 files in GAC during installation. On windows 7 systems it puts the files properly and everything works fine. But on windows XP SP2 and SP3 it puts two dll assembly files in GAC properly but it does not put the 3rd file which is .NET exe assembly in GAC. When i manually parsed the c:\windows\assembly folder, it created the folder as junction and not a dir. Why is this happening? How can it be fixed? I need urgent help on this as my production is stuck.

Thanks,
Ashraf
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Creating junction in GAC instead of Directory

Hi Ashraf and welcome to our forums,

Can you please send us the aip file and a verbose log to support at advancedinstaller dot com so we can investigate them?

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ashraf798
Posts: 11
Joined: Mon Apr 23, 2012 10:58 am

Re: Creating junction in GAC instead of Directory

Hi,
I am attaching the log and project file. Basically when i try to install a n assembly called "Launcher.exe" to the GAC its says that successfuly installed but it doesn't show up in the GAC.

Thanks,
Ashraf
Attachments
setup.aip
(23.9 KiB) Downloaded 642 times
install.log
(309.86 KiB) Downloaded 499 times
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Creating junction in GAC instead of Directory

Hi Ashraf,

The files indicate all settings are correct.
it created the folder as junction and not a dir
The folder "c:\windows\assembly" should already exist on the machine, not to be created by your package. Were the test machines clean? If not, can you please try using clean machines for testing, virtual machines are recommended.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ashraf798
Posts: 11
Joined: Mon Apr 23, 2012 10:58 am

Re: Creating junction in GAC instead of Directory

Hi Bogdan,

I tested it on a clean VM and yes, the VM had .NET 2.0 SP1 already installed, so the c:\windows\assembly was also already created.

Regards,
Ashraf
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Creating junction in GAC instead of Directory

Hi Ashraf,

From what I know you cannot load an EXE assembly from GAC so may I ask why do you wish to place it there instead of a private install?

Also, shouldn't the ProcessorArchitecture attribute be x86 or x64?

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”