I've been asked to write an MSI which installs a service, then starts the service based on a user checkbox after the install finishes (the service starts a Java-based server.) The problem: while the installation process correctly asks for privilege elevation during the install, and does install correctly, it fails starting the service. I've read various ways that people have tried getting around this problem (type 34 actions, type 50 actions, running after InstallFinalize in the execute sequence, etc., etc.) Most seem to have failed.
Does anybody now know of a way to get an installed service to start for a non-admin user (it's fine to have it request privilege execution at the start time)? I'm pretty much at wits end after two days trying to do this. Note that if the user invokes the install from an elevated command shell or using 'Run as Administrator', everything works fine, including starting the service, so I know it's not the service itself. Thanks!! Dave ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users