Hi,
Sorry about my mistake. I typed the code manually and did not type it correctly.
Our code should be correct because it works fine in our complex installation project.
The installation works fine and and was already used in many operating system (XP, 2003, 7 x86, 7 x64, 2008, 2008 R2 and 2012).
It includes the default code.
Code: Select all
Get Folder Location System->Windows Directory into WINDIR
Get Folder Location System->System Directory into WINSYSDIR
WINSYSDIR in C:\Windows\System32 or C:\Windows\SysWOW64 which is fine
But we have a problem with WINDIR.
In most of the cases its value is OK (C:\Windows).
But in Windows 2008 R2 which is a Remote Desktop Server (terminal server) the value of WINDIR is different
It is C:\Users\<user name>\Windows
We tried to use the common Windows variable which you provide But it has the same value as WINDIR
We added it from Desigen \ Files \ Add system Folder.
Code: Select all
Get Common Folder Location System->Windows Directory into ALLWINDIR
Attached is also the clipbaord code
Code: Select all
~InstallAware Clipboard Data~
~Get Folder Location~
~{794173E2-153D-4936-9B36-82BC59F65A9C}~
~ALLWINDIR~
~25~
~TRUE~
~Get Folder Location~
~{EB87E659-BED5-4A7C-A3AB-2A5E0FD47ECD}~
~WINSYSDIR~
~23~
~FALSE~
~Get Folder Location~
~{8BB7B33F-7D86-440C-89D0-8E769A03D2AB}~
~WINDIR~
~25~
~FALSE~
Regards