Surely that only sets the variable at compile time?

Mark.
--

On 10/08/2011 08:17, maksim.vazhe...@emc.com wrote:
> You can simply use [SystemFolder] for 32-bit package and [System64Folder] for 
> 64-bit package.
>
> <?if $(var.Platform) != x86 ?>
>      <?define System32Dir = "System64Folder" ?>
>    <?else?>
>      <?define System32Dir = "SystemFolder" ?>
>    <?endif ?>
>
> <Shortcut
>       Id="SC_Debug"
>       Name="Pathfinder Service Debug" Description="Pathfinder Service Debug"
>       Target="[$(var. System32Dir)]telnet.exe"
>       Arguments="127.0.0.1 6001"
>       WorkingDirectory="APPLICATIONFOLDER" />
>
> -Maksim
>
> -----Original Message-----
> From: Mark Simonetti [mailto:ma...@opalsoftware.co.uk]
> Sent: Tuesday, August 09, 2011 6:27 PM
> To: WiX-users@lists.sourceforge.net
> Subject: [WiX-users] Accessing system32 folder on 64bit machines
>
> I'm trying to add a shortcut like this to my installer:
>
> <Shortcut
>       Id="SC_Debug"
>       Name="Pathfinder Service Debug" Description="Pathfinder Service Debug"
>       Target="[SystemFolder]telnet.exe"
>       Arguments="127.0.0.1 6001"
>       WorkingDirectory="APPLICATIONFOLDER" />
>
> However, on 64bit windows it comes out at c:\windows\syswow64 instead of
> system32, but telnet.exe always lives in System32.
>
> I used to use innosetup and oddly {sys} somehow pointed to the correct
> folder, though I'm guessing it did something underhand like use
> WindowsFolder and simply appended "system32", which is what I'm thinking
> of doing at the moment unless anyone has a nice solution to this?
>
> On 64bit windows System64Folder does point to System32 (as odd as that
> may sound) - but this doesn't help on Windows 32.
>
> Thanks,
>
> Mark.
>
>
> ------------------------------------------------------------------------------
> uberSVN's rich system and user administration capabilities and model
> configuration take the hassle out of deploying and managing Subversion and
> the tools developers use with it. Learn more about uberSVN and get a free
> download at:  http://p.sf.net/sfu/wandisco-dev2dev
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> ------------------------------------------------------------------------------
> uberSVN's rich system and user administration capabilities and model
> configuration take the hassle out of deploying and managing Subversion and
> the tools developers use with it. Learn more about uberSVN and get a free
> download at:  http://p.sf.net/sfu/wandisco-dev2dev
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>


------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to