Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Silent install with System Account fails on Vista


5 replies to this topic

mocsok

mocsok
  • Full Members
  • 4 posts

Posted 25 September 2008 - 14:45

Hi Everybody!

I have a serious trouble which I've been fighting for 3 weeks (!) now.
I have a Basic msi (12.0) project which works correctly in silent mode when running under "Admin account" on Windows Vista 32 bit, even if its deployed from a remote computer. But changing "Admin account" to "System account" makes a corrupt installation. What I could find in the log is that, some of my Custom actions start and return immediately without finishing theirs code. These CA-s are in the the "Execute sequence" set to "Immediate execution" and sequenced after "CostFinalize.
Right after this the next lines can be found in the log:

"Custom Action ProcessBeforeDataMove did not close 1 MSIHANDLEs.
Invoking remote custom action. DLL:C:\Windows\Installer\MSICF61.tmp,Entrypoint: f13
Lost connection to custom action server process. Attempting to regenerate.
Created Custom Action Server with PID 1544 (0x608).
MSI (s) (58:2C) [16:48:29:626]: Running as a service."

But then CA-s set to "Deferred Execution" all run correctly. I've tried many things but no idea of this how to solve this.

Thanks in advance: Mocsok

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 25 September 2008 - 16:52

Immediate custom action try to impersonate the user account. Mybe that's the cause for the problem. I think I've seen a blog article about a similar problem some time ago, but I can't find it right now.

mocsok

mocsok
  • Full Members
  • 4 posts

Posted 26 September 2008 - 08:01

Hello Stefan,

Thanks, I wait for your reply.

Mocsok

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 26 September 2008 - 14:52

I'm sorry but I can't find it anymore (or maybe my memory is wrong). This might help a little bit:
http://blogs.msdn.co...mpersonate.aspx


mocsok

mocsok
  • Full Members
  • 4 posts

Posted 30 September 2008 - 08:47

Hi Stefan,

thank you very much. I hope this .doc helps me to passing on.

Best regards,
Mocsok

mocsok

mocsok
  • Full Members
  • 4 posts

Posted 06 October 2008 - 13:17

Hi Everybody!

Finally I found what made the trouble. All those defects were made becouse of the
"SdShowMsg" function !!! Removing this line lead to a perfect installation even
if installation is silent mode and account is system!

Thank for your help Stefan.