Check the event log to see if there are any messages where Source = Windows
File Protection. If so, have a look here
http://support.microsoft.com/kb/222193

-----Original Message-----
From: Michael Tissington [mailto:michael_tissing...@ciqual.com] 
Sent: 04 April 2011 09:05
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Why does my WiX 3.5 installer not copy files
tosystem 32 dir?

Have you tried running the msi with logging enabled and see what you get in
the log?

Msiexec /I package.msi /l*v log.txt

-----Original Message-----
From: Jacob, Marcus [mailto:mja...@toptechnologies.de] 
Sent: 04 April 2011 08:55
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Why does my WiX 3.5 installer not copy files to system
32 dir?

My WiX (3.5) installer should copy the richtx32.ocx file to the
windows\system32 dir and register it by using some command line statements
but it does not work. The file is not copied to the folder.



<Directory Id="SystemFolder">

   <Component Id="ComponentName" Guid="someGUID">

      <File Source="someSourceFolder\richtx32.ocx" />

   </Component>

</Directory>



The problem occurs on XP and also on Win7 and yes, I have started the MSI as
admin user. In case the file is copied to another directory (eg. the program
files directory of my application), everything works fine.

The error occurs only with the system32 dir. I also tried it with another
.ocx file to see whether the problems lies within the file itself, but it
does not work either.



BUT:

If I add a "test.txt" file to the component (which btw. has some more files
then only the richtx32.ocx) it suddenly works! But why does the installer
only copy all files if there is a different file than .ocx/.dll?? I don't
want to copy a dummy text file just to let it work... There must be a
reason.



Thanks in advance!

----------------------------------------------------------------------------
--
Create and publish websites with WebMatrix Use the most popular FREE web
apps or write code yourself; WebMatrix provides all the features you need to
develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-----------------------------------------------------------------------------
-
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
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.


------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to