You also probably shouldn't refer to the Program Files folder by name, because 
it might not be 
called that (especially on a non-English OS).  It's better to use the 
ProgramFilesFolder and 
ProgramFiles64Folder properties.  You can use these as the Id for a Directory 
element.

Rob

On 14/03/2011 10:15, David Watson wrote:
> I can't see your code properly but it will probably be because your MSI is 32
> bit and running on a 64 bit OS. Windows automatically transforms the folder
> to the x86 one.
>
> If you want to target program files on a 64 bit OS you should create a 64 bit
> MSI.
>
> Dave
>
> -----Original Message-----
> From: wsjou [mailto:wsjmail...@gmail.com]
> Sent: 14 March 2011 07:07
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] [WiX] Uninstalling custom action exe's (64 bit
> Folderissue)
>
> Hi Eveyone! First time posting here
>
> I've just started with WiX, and i was wondering if anyone could be of
> assistance for an issue i've been having. For my MSI, I've had two exe's
> that get installed as part of the MSI. They get saved in C:\Program Files.
>
> When i try to reference the path of C:\Program Files, i keep getting
> transferred to C:\Program Files (x86) instead, and obviously when i try to
> run the uninstall script of the third party exe's they cant be found. Anyone
> know why this might happen?
>
> Just some of the code i have
> defaults.wxi
> <?define AppDir="C:\Program Files\" ?>
>
> main.wxs
>
>
>
>
>
>
>
>
> .
> .
> .
>
>
>
> --
> View this message in context:
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/WiX-Uninstallin
> g-custom-action-exe-s-64-bit-Folder-issue-tp6168082p6168082.html
> Sent from the wix-users mailing list archive at Nabble.com.
>
> -----------------------------------------------------------------------------
> -
> Colocation vs. Managed Hosting
> A question and answer guide to determining the best fit
> for your organization - today and in the future.
> http://p.sf.net/sfu/internap-sfd2d
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> SDL PLC confidential, all rights reserved.
> If you are not the intended recipient of this mail SDL requests and requires 
> that you delete it without acting upon or copying any of its contents, and we 
> further request that you advise us.
> SDL PLC is a public limited company registered in England and Wales.  
> Registered number: 02675207.
> Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 
> 7DY, UK.
>
>
> ------------------------------------------------------------------------------
> Colocation vs. Managed Hosting
> A question and answer guide to determining the best fit
> for your organization - today and in the future.
> http://p.sf.net/sfu/internap-sfd2d


------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to