danc81
Posts: 18
Joined: Tue Oct 09, 2007 8:46 am

External shortcut 64-bit

Is it possible to have an external shortcut which points to the System32 folder regardless of whether it's a 32 or 64 bit OS?

I have tried the System64 folder which is incorrect on 32-bit Windows and also tried the System which is incorrect on 64-bit Windows. What could I use to always point to a file within System32?

Thanks
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: External shortcut 64-bit

Hi,

I'm afraid that this is not supported by Windows Installer. On a 64-bit system, the system folders from the "Files and Folders" page will be resolved like this:
- "System" -> "Windows\SysWOW64"
- "System 64" -> "Windows\Sytem32"

A solution would be to use two different shortcuts (one for a 32-bit system and one for a 64-bit system). After the shortcuts are created you can move them to custom components and condition them based on the target OS.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”