NGen is supported in both WiX 2 and 3.  I would highly suggest using the custom actions we built since they were done with assistance from the NGen team.  There could be some bugs however, so it probably isn’t appropriate for shipping in a few days (a few months would be much more appropriate so that any issues can be worked out before shipping).  (There is already one known issue that the MsiAssembly table must be present for it to work – you didn’t need to actually have any entries in the table, but just the table itself – this can be done with <EnsureTable Id=”MsiAssembly” /> until the simple bug is fixed).

 

For more info, please see my blog entry at http://installing.blogspot.com/2006/06/ngen-support-in-wix.html

 

Derek

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Josh Einstein
Sent: Tuesday, July 04, 2006 4:30 PM
To: 'Bob Arnson'
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] CustomAction failing on Vista

 

I haven’t looked at Wix Version 3 yet. I guess I was put off by the (unstable) after it. The reason I switched to Wix was for a more predictable installation experience than InstallShield. Is the schema compatible with version 2? I am a few days away from a launch so I might have to put it off for a little while.

 

But thanks for the information about deferring the CustomAction. I will give that a try. I think I need to read up a bit more about deferred CustomActions because I think I recall that there were some other considerations with regard to properties and sequencing. Thanks again.

 

Josh

 

From: Bob Arnson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 04, 2006 7:07 PM
To: Josh Einstein
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] CustomAction failing on Vista

 

Josh Einstein wrote:

I am using a CustomAction to launch ngen at the end of my installation but it’s not working correctly in Vista with UAC. If I invoke the command manually from the command prompt as the logged in user, it fails because ngen requires the admin token. So I don’t get any elevation prompts even if I run it manually. Is there a way to specify that the CustomAction needs to be elevated? I’ve tried impersonate=no but it doesn’t seem to help.

CAs need to be both deferred (@Execute="deferred") and non-impersonated (@Impersonate="no") to get the elevation prompt.

Could you switch to WiX v3? It has NGen support.

-- 
sig://boB
http://bobs.org




Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to