Dear friends,

 

I am trying to run an msi  on Vista, It failed. It can run on XP and
windows 2000 without any problem. For testing, I just include a very
simple custom action (dll written in VC++) called StartAtHocDSWSetup and
entrypoint: SetupDSW. Its purpose is to write CustomActionData to a
MessageBox. But the msi could not run the CA on Vista. The following is
the log information:

 

MSI (s) (D0:A0) [13:16:42:801]: Executing op: CacheSizeFlush(,)

MSI (s) (D0:A0) [13:16:42:801]: Executing op:
ActionStart(Name=StartAtHocDSWSetup,,)

MSI (s) (D0:A0) [13:16:42:801]: Executing op:
CustomActionSchedule(Action=StartAtHocDSWSetup,ActionType=1025,Source=Bi
naryData,Target=SetupDSW,CustomActionData=C:\Windows\Temp\6.2.1.7\^^)

MSI (s) (D0:A0) [13:16:42:847]: Creating MSIHANDLE (3) of type 790536
for thread 2208

MSI (s) (D0:40) [13:16:42:847]: Invoking remote custom action. DLL:
C:\Windows\Installer\MSI16A8.tmp, Entrypoint: SetupDSW

MSI (s) (D0:40) [13:16:43:129]: Closing MSIHANDLE (3) of type 790536 for
thread 2208

Action ended 13:16:43: InstallFinalize. Return value 3.

 

>From the http://support.microsoft.com/kb/929710 link, I understand the
msiexec is 4.0 on Vista and it is default DEP enabled. The custom
action(s) must be compatible with DEP in windows vista. 

 

Question: How can make my CA DEP compatible?

 

I tried to use BCDedit /set nx=AlwaysOff command to set hardware DEP off
and restart the computer. But I got the same log information when I run
the msi. 

 

Please let me know what I can do make it work in Vista?

 

Thanks!

 

 

 

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to