/build/static/layout/Breadcrumb_cap_w.png

NT Services and AdminStudio - Taking a snapshot

Hi,

I am attempting to repackage the IIS and SMTP Windows Components from the Windows XP with Service Pack 1 CD-ROM. The snapshot process is ok and I am able to edit my install shield project fine, but for some reason when I install the finished MSI file the IIS, SMTP and W3SVC services fail to start. I also get access denied errors during install saying the install couldn't write keys to HKLM\SYSTEM\CurrentControlSet\Enum and HKLM\SYSTEM\CurrentControlSet\Control. I have gone back and added Registry Permissions (Full Control to the Everyone group) but still am not having any success.

Is there any special tricks when repackaging NT Services? Also is there any doco about this I can read?

Thanks for your help.
M

0 Comments   [ + ] Show comments

Answers (4)

Posted by: MSI_repackager 19 years ago
Orange Belt
0
Hi,

An update to this. I have been able to get around the registry permission problems by adding the 'AlwaysInstallElevated' key to and HKCU\Software\Policies\Microsoft\Windows\Installer. I still however am getting an MSI Error 1920 Access Denied unable to start service. The Startname field is left blank in the ServiceInstall table, which, according to the documentation means the LocalSystem account will be used. But this doesn't seem to be enough to do it. Any suggestions gratefully appreaciated.

M
Posted by: Neo64fr 19 years ago
Senior Yellow Belt
0
HI

I have the same problem. when i install my repackaged MSI of the application Viewnow i have an error.
it tells me that i have insuficient privileges to launch service.
It's the first time i have to install a service i have no idea of what to do.
Posted by: MSI_repackager 19 years ago
Orange Belt
0
Hi,

Sorry for the delayed response. I have used a comma as the delimiter for each field. ServiceInstall Table is as follows:

W3SVC,W3SVC,World Wide Web Publishing,32,2,1,blank,IISADMIN[~][~],blank,blank,blank,inetinfo.exe_service,description(to long to write here).

IISADMIN,IISADMIN,IIS Admin,32,2,1,blank,RpcSs[~]SamSs[~][~],blank,blank,blank,inetinfo.exe_service,description(to long to write here).

SMTPSVC,SMTPSVC,Simple Mail Transfer Protocol,32,2,1,blank,EventLog[~]IISADMIN[~][~],blank,blank,blank,inetinfo.exe_service,description(to long to write here).

I have tried changing the ServiceType to 16 instead of 32 which is own process instead of shared without success. Also I have the Event field in the ServiceControl table set to 161 which equals Install Start = Yes and Uninstall Stop and Uninstall Delete equal to Yes. I have also tried combinations here to but without any success.

I am now looking at the AppID's in HKCR to see whether this might be related.

Please let me know if there is anything I should be changing here...

Thanks
M
Posted by: MSI_repackager 19 years ago
Orange Belt
0
Hi,

this post is being continued in the MSI Error 1920 thread for everyone's reference, just so that there is no duplication of posts.

Thanks,
M
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ