Video Screencast Help

Missing icons for x86 layer program under x64? (Windows 7)

Created: 20 Sep 2012 | 1 comment

Hello,

We're in the process of migrating our Windows 7 x86 environment to x64. The x86 environment will be maintained too.

After creating new 64-bit images, modify deployment scripts, etc. we have a new environment with the same SWV version but in 64-bits.

I've imported some test layers (7-Zip, Firefox, Thunderbird) and they run properly.

I've seen that:

- SWV has changed the references from "C:\Program Files\XXX" to "C:\Program Files (x86)\XXX"

- This change has been applied for files/folders and in the virtual registry

But, I've seen a little problem with changes that need to be done inside files.

For example, all shortcuts for these programs doesn't have icons (I've used the "strings.exe" from Sysinternals for looking into the *.lnk files and I've seen that there are hardcoded references to "C:\Program Files\XXX"). I can go to preferences of the shortcut and change the icon manually.

Any idea about how to solve this problem? (I don't want to re-capture the application in a 64-bit machine because I don't want to have two versions of the layers, one for x86 and one for x64).

Thanks.

PS: We're using SWV 6.4.1550 (with a mix of layers created using 6.4.1266 and 6.4.1550; i.e. old layers aren't recreated when there is change in the virtualization engine).

 

Comments 1 CommentJump to latest comment

AngelD's picture

You can try to make a copy of the icon-file under [_B_]PROGRAMFILES64[_E_] to support both 32- and 64-bit operating systems.

It still requires modification of the package but it's a quick test to just do it under the RO layer while the layer is imported.