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

InstallScript not running on Server 2008


4 replies to this topic

kretmatt

kretmatt
  • Full Members
  • 10 posts

Posted 08 June 2010 - 08:04

Hello,
I have a MSI with some custom actions calling InstallScript functions.
This MSI is running on Windows Server 2003 without any problems.

Now we try to install it on Server 2008 R2 but it fails because there are problems with the InstallDriver, what I hink is caused about the InstallScript.
The isscript11.msi was installed before.
Could somebody tell me what to do to get the MSI running on Server 2008?

Thank you very much in advance.

Here is my verbose log:
CODE

=== Verbose logging started: 08.06.2010  08:41:07  Build type: SHIP UNICODE 5.00.7600.00  Calling process: C:\Windows\System32\msiexec.exe ===
MSI (c) (BC:18) [08:41:07:127]: Font created.  Charset: Req=0, Ret=0, Font: Req=MS Shell Dlg, Ret=MS Shell Dlg

MSI (c) (BC:18) [08:41:07:127]: Font created.  Charset: Req=0, Ret=0, Font: Req=MS Shell Dlg, Ret=MS Shell Dlg

MSI (c) (BC:A0) [08:41:07:142]: Resetting cached policy values
MSI (c) (BC:A0) [08:41:07:142]: Machine policy value 'Debug' is 0
MSI (c) (BC:A0) [08:41:07:142]: ******* RunEngine:
          ******* Product: C:\BPS_Environment_V1.00.msi
          ******* Action:
          ******* CommandLine: **********
MSI (c) (BC:A0) [08:41:07:142]: Machine policy value 'DisableUserInstalls' is 0
MSI (c) (BC:A0) [08:41:07:158]: Note: 1: 1402 2: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer 3: 2
MSI (c) (BC:A0) [08:41:07:158]: SOFTWARE RESTRICTION POLICY: Verifying package --> 'C:\BPS_Environment_V1.00.msi' against software restriction policy
MSI (c) (BC:A0) [08:41:07:158]: Note: 1: 2262 2: DigitalSignature 3: -2147287038
MSI (c) (BC:A0) [08:41:07:158]: SOFTWARE RESTRICTION POLICY: C:\BPS_Environment_V1.00.msi is not digitally signed
MSI (c) (BC:A0) [08:41:07:158]: SOFTWARE RESTRICTION POLICY: C:\BPS_Environment_V1.00.msi is permitted to run at the 'unrestricted' authorization level.
MSI (c) (BC:A0) [08:41:07:158]: Cloaking enabled.
MSI (c) (BC:A0) [08:41:07:158]: Attempting to enable all disabled privileges before calling Install on Server
MSI (c) (BC:A0) [08:41:07:158]: End dialog not enabled
MSI (c) (BC:A0) [08:41:07:158]: Original package ==> C:\BPS_Environment_V1.00.msi
MSI (c) (BC:A0) [08:41:07:158]: Package we're running from ==> C:\BPS_Environment_V1.00.msi
MSI (c) (BC:A0) [08:41:07:174]: APPCOMPAT: Compatibility mode property overrides found.
MSI (c) (BC:A0) [08:41:07:174]: APPCOMPAT: looking for appcompat database entry with ProductCode '{8B6DABE4-51FD-407A-9999-2D800053E9D4}'.
MSI (c) (BC:A0) [08:41:07:174]: APPCOMPAT: no matching ProductCode found in database.
MSI (c) (BC:A0) [08:41:07:174]: MSCOREE not loaded loading copy from system32
MSI (c) (BC:A0) [08:41:07:174]: Machine policy value 'TransformsSecure' is 1
MSI (c) (BC:A0) [08:41:07:174]: Note: 1: 2262 2: File 3: -2147287038
MSI (c) (BC:A0) [08:41:07:174]: Note: 1: 2262 2: MsiFileHash 3: -2147287038
MSI (c) (BC:A0) [08:41:07:174]: Machine policy value 'DisablePatch' is 0
MSI (c) (BC:A0) [08:41:07:174]: Machine policy value 'AllowLockdownPatch' is 0
MSI (c) (BC:A0) [08:41:07:174]: Machine policy value 'DisableLUAPatching' is 0
MSI (c) (BC:A0) [08:41:07:174]: Machine policy value 'DisableFlyWeightPatching' is 0
MSI (c) (BC:A0) [08:41:07:174]: APPCOMPAT: looking for appcompat database entry with ProductCode '{8B6DABE4-51FD-407A-9999-2D800053E9D4}'.
MSI (c) (BC:A0) [08:41:07:174]: APPCOMPAT: no matching ProductCode found in database.
MSI (c) (BC:A0) [08:41:07:174]: Transforms are not secure.
MSI (c) (BC:A0) [08:41:07:174]: PROPERTY CHANGE: Adding MsiLogFileLocation property. Its value is 'C:\msi.log'.
MSI (c) (BC:A0) [08:41:07:174]: Command Line: CURRENTDIRECTORY=C:\Users\Administrator CLIENTUILEVEL=0 CLIENTPROCESSID=2492
MSI (c) (BC:A0) [08:41:07:174]: PROPERTY CHANGE: Adding PackageCode property. Its value is '{96AB3235-DF9E-443D-81AE-A042A4A9BF16}'.
MSI (c) (BC:A0) [08:41:07:174]: Product Code passed to Engine.Initialize:           ''
MSI (c) (BC:A0) [08:41:07:174]: Product Code from property table before transforms: '{8B6DABE4-51FD-407A-9999-2D800053E9D4}'
MSI (c) (BC:A0) [08:41:07:174]: Product Code from property table after transforms:  '{8B6DABE4-51FD-407A-9999-2D800053E9D4}'
MSI (c) (BC:A0) [08:41:07:174]: Product not registered: beginning first-time install
MSI (c) (BC:A0) [08:41:07:174]: PROPERTY CHANGE: Modifying ALLUSERS property. Its current value is '2'. Its new value: '1'.
MSI (c) (BC:A0) [08:41:07:174]: PROPERTY CHANGE: Adding ProductState property. Its value is '-1'.
MSI (c) (BC:A0) [08:41:07:174]: Entering CMsiConfigurationManager::SetLastUsedSource.
MSI (c) (BC:A0) [08:41:07:174]: User policy value 'SearchOrder' is 'nmu'
MSI (c) (BC:A0) [08:41:07:174]: Adding new sources is allowed.
MSI (c) (BC:A0) [08:41:07:174]: PROPERTY CHANGE: Adding PackagecodeChanging property. Its value is '1'.
MSI (c) (BC:A0) [08:41:07:174]: Package name extracted from package path: 'BPS_Environment_V1.00.msi'
MSI (c) (BC:A0) [08:41:07:174]: Package to be registered: 'BPS_Environment_V1.00.msi'
MSI (c) (BC:A0) [08:41:07:174]: Note: 1: 2262 2: AdminProperties 3: -2147287038
MSI (c) (BC:A0) [08:41:07:174]: Machine policy value 'DisableMsi' is 1
MSI (c) (BC:A0) [08:41:07:174]: Machine policy value 'AlwaysInstallElevated' is 0
MSI (c) (BC:A0) [08:41:07:174]: User policy value 'AlwaysInstallElevated' is 0
MSI (c) (BC:A0) [08:41:07:174]: Product installation will be elevated because user is admin and product is being installed per-machine.
MSI (c) (BC:A0) [08:41:07:174]: Running product '{8B6DABE4-51FD-407A-9999-2D800053E9D4}' with elevated privileges: Product is assigned.
MSI (c) (BC:A0) [08:41:07:174]: PROPERTY CHANGE: Adding CURRENTDIRECTORY property. Its value is 'C:\Users\Administrator'.
MSI (c) (BC:A0) [08:41:07:174]: PROPERTY CHANGE: Adding CLIENTUILEVEL property. Its value is '0'.
MSI (c) (BC:A0) [08:41:07:174]: PROPERTY CHANGE: Adding CLIENTPROCESSID property. Its value is '2492'.
MSI (c) (BC:A0) [08:41:07:174]: TRANSFORMS property is now:
MSI (c) (BC:A0) [08:41:07:174]: PROPERTY CHANGE: Adding VersionDatabase property. Its value is '200'.
MSI (c) (BC:A0) [08:41:07:174]: SHELL32::SHGetFolderPath returned: C:\Users\Administrator\AppData\Roaming
MSI (c) (BC:A0) [08:41:07:174]: SHELL32::SHGetFolderPath returned: C:\Users\Administrator\Favorites
MSI (c) (BC:A0) [08:41:07:174]: SHELL32::SHGetFolderPath returned: C:\Users\Administrator\AppData\Roaming\Microsoft\Windows\Network Shortcuts
MSI (c) (BC:A0) [08:41:07:174]: SHELL32::SHGetFolderPath returned: C:\Users\Administrator\Documents
MSI (c) (BC:A0) [08:41:07:174]: SHELL32::SHGetFolderPath returned: C:\Users\Administrator\AppData\Roaming\Microsoft\Windows\Printer Shortcuts
MSI (c) (BC:A0) [08:41:07:174]: SHELL32::SHGetFolderPath returned: C:\Users\Administrator\AppData\Roaming\Microsoft\Windows\Recent
MSI (c) (BC:A0) [08:41:07:174]: SHELL32::SHGetFolderPath returned: C:\Users\Administrator\AppData\Roaming\Microsoft\Windows\SendTo
MSI (c) (BC:A0) [08:41:07:174]: SHELL32::SHGetFolderPath returned: C:\Users\Administrator\AppData\Roaming\Microsoft\Windows\Templates
MSI (c) (BC:A0) [08:41:07:174]: SHELL32::SHGetFolderPath returned: C:\ProgramData
MSI (c) (BC:A0) [08:41:07:174]: SHELL32::SHGetFolderPath returned: C:\Users\Administrator\AppData\Local
MSI (c) (BC:A0) [08:41:07:174]: SHELL32::SHGetFolderPath returned: C:\Users\Administrator\Pictures
MSI (c) (BC:A0) [08:41:07:174]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools
MSI (c) (BC:A0) [08:41:07:174]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
MSI (c) (BC:A0) [08:41:07:174]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Start Menu\Programs
MSI (c) (BC:A0) [08:41:07:174]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Start Menu
MSI (c) (BC:A0) [08:41:07:174]: SHELL32::SHGetFolderPath returned: C:\Users\Public\Desktop
MSI (c) (BC:A0) [08:41:07:174]: SHELL32::SHGetFolderPath returned: C:\Users\Administrator\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Administrative Tools
MSI (c) (BC:A0) [08:41:07:174]: SHELL32::SHGetFolderPath returned: C:\Users\Administrator\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
MSI (c) (BC:A0) [08:41:07:174]: SHELL32::SHGetFolderPath returned: C:\Users\Administrator\AppData\Roaming\Microsoft\Windows\Start Menu\Programs
MSI (c) (BC:A0) [08:41:07:174]: SHELL32::SHGetFolderPath returned: C:\Users\Administrator\AppData\Roaming\Microsoft\Windows\Start Menu
MSI (c) (BC:A0) [08:41:07:174]: SHELL32::SHGetFolderPath returned: C:\Users\Administrator\Desktop
MSI (c) (BC:A0) [08:41:07:174]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Templates
MSI (c) (BC:A0) [08:41:07:174]: SHELL32::SHGetFolderPath returned: C:\Windows\Fonts
MSI (c) (BC:A0) [08:41:07:174]: Note: 1: 2898 2: MS Sans Serif 3: MS Sans Serif 4: 0 5: 16
MSI (c) (BC:A0) [08:41:07:189]: MSI_LUA: Setting AdminUser property to 1 because this is the client or the user has already permitted elevation
MSI (c) (BC:A0) [08:41:07:189]: MSI_LUA: Setting MsiRunningElevated property to 1 because the install is already running elevated.
MSI (c) (BC:A0) [08:41:07:189]: PROPERTY CHANGE: Adding MsiRunningElevated property. Its value is '1'.
MSI (c) (BC:A0) [08:41:07:189]: PROPERTY CHANGE: Adding Privileged property. Its value is '1'.
MSI (c) (BC:A0) [08:41:07:189]: Note: 1: 1402 2: HKEY_CURRENT_USER\Software\Microsoft\MS Setup (ACME)\User Info 3: 2
MSI (c) (BC:A0) [08:41:07:189]: PROPERTY CHANGE: Adding USERNAME property. Its value is 'Windows User'.
MSI (c) (BC:A0) [08:41:07:189]: Note: 1: 1402 2: HKEY_CURRENT_USER\Software\Microsoft\MS Setup (ACME)\User Info 3: 2
MSI (c) (BC:A0) [08:41:07:189]: PROPERTY CHANGE: Adding DATABASE property. Its value is 'C:\BPS_Environment_V1.00.msi'.
MSI (c) (BC:A0) [08:41:07:189]: PROPERTY CHANGE: Adding OriginalDatabase property. Its value is 'C:\BPS_Environment_V1.00.msi'.
MSI (c) (BC:A0) [08:41:07:189]: Machine policy value 'MsiDisableEmbeddedUI' is 0
MSI (c) (BC:A0) [08:41:07:189]: PROPERTY CHANGE: Adding SourceDir property. Its value is 'C:\'.
MSI (c) (BC:A0) [08:41:07:189]: PROPERTY CHANGE: Adding SOURCEDIR property. Its value is 'C:\'.
MSI (c) (BC:18) [08:41:07:189]: PROPERTY CHANGE: Adding VersionHandler property. Its value is '5.00'.
=== Logging started: 08.06.2010  08:41:07 ===
MSI (c) (BC:A0) [08:41:07:189]: Note: 1: 2262 2: PatchPackage 3: -2147287038
MSI (c) (BC:A0) [08:41:07:189]: Note: 1: 2262 2: Media 3: -2147287038
MSI (c) (BC:A0) [08:41:07:189]: Machine policy value 'DisableRollback' is 0
MSI (c) (BC:A0) [08:41:07:189]: User policy value 'DisableRollback' is 0
MSI (c) (BC:A0) [08:41:07:189]: PROPERTY CHANGE: Adding UILevel property. Its value is '5'.
MSI (c) (BC:A0) [08:41:07:189]: Note: 1: 2262 2: Font 3: -2147287038
MSI (c) (BC:A0) [08:41:07:189]: PROPERTY CHANGE: Adding ACTION property. Its value is 'INSTALL'.
MSI (c) (BC:A0) [08:41:07:189]: Doing action: INSTALL
Action start 08:41:07: INSTALL.
MSI (c) (BC:A0) [08:41:07:189]: UI Sequence table 'InstallUISequence' is present and populated.
MSI (c) (BC:A0) [08:41:07:189]: Running UISequence
MSI (c) (BC:A0) [08:41:07:189]: PROPERTY CHANGE: Adding EXECUTEACTION property. Its value is 'INSTALL'.
MSI (c) (BC:A0) [08:41:07:189]: Doing action: ISMsiServerStartup
Action start 08:41:07: ISMsiServerStartup.
MSI (c) (BC:A0) [08:41:07:189]: Note: 1: 2235 2:  3: ExtendedType 4: SELECT `Action`,`Type`,`Source`,`Target`, NULL, `ExtendedType` FROM `CustomAction` WHERE `Action` = 'ISMsiServerStartup'
Action ended 08:41:07: ISMsiServerStartup. Return value 1.
MSI (c) (BC:A0) [08:41:07:189]: Doing action: ISStartup
Action start 08:41:07: ISStartup.
MSI (c) (BC:A0) [08:41:07:189]: Note: 1: 2235 2:  3: ExtendedType 4: SELECT `Action`,`Type`,`Source`,`Target`, NULL, `ExtendedType` FROM `CustomAction` WHERE `Action` = 'ISStartup'
MSI (c) (BC:74) [08:41:07:189]: Invoking remote custom action. DLL: C:\Users\ADMINI~1\AppData\Local\Temp\3\MSIAE20.tmp, Entrypoint: MsiServerStartup
MSI (c) (BC:64) [08:41:07:189]: Invoking remote custom action. DLL: C:\Users\ADMINI~1\AppData\Local\Temp\3\MSIAE21.tmp, Entrypoint: StartUp
MSI (c) (BC:F8) [08:41:07:189]: Cloaking enabled.
MSI (c) (BC:F8) [08:41:07:189]: Attempting to enable all disabled privileges before calling Install on Server
MSI (c) (BC:F8) [08:41:07:189]: Connected to service for CA interface.
1: The InstallScript engine version currently installed on this machine is adequate.
1: Event 'E417267' is created
MSI (c) (BC!F4) [08:41:07:267]: PROPERTY CHANGE: Adding ISStartupEvent property. Its value is 'E417267'.
1: GetInstallDriver, Can not find InstallDriver in ROT table, Return Code = 0x80004005
1: {8B6DABE4-51FD-407A-9999-2D800053E9D4}
1: Extract supporting files
1: Failed to extract _IsUser.dll, Ignore it.
1: Failed to extract IGdi.dll, Ignore it.
1: ISMsiServerStartup Failure, Failed to Initialize script support, Error = 0x80010105
1: MsiServerStartup failed. Abort installation.
CustomAction ISStartup returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 08:41:07: ISStartup. Return value 3.
MSI (c) (BC:A0) [08:41:07:767]: Doing action: SetupCompleteError
Action start 08:41:07: SetupCompleteError.
MSI (c) (BC:A0) [08:41:07:767]: Note: 1: 2235 2:  3: ExtendedType 4: SELECT `Action`,`Type`,`Source`,`Target`, NULL, `ExtendedType` FROM `CustomAction` WHERE `Action` = 'SetupCompleteError'
Info 2898.For Tahoma8 textstyle, the system created a 'Tahoma' font, in 0 character set, of 13 pixels height.
Info 2898.For TahomaBold10 textstyle, the system created a 'Tahoma' font, in 0 character set, of 16 pixels height.
MSI (c) (BC:DC) [08:41:07:799]: Note: 1: 2731 2: 0
MSI (c) (BC:18) [08:41:08:970]: Doing action: ISCleanUpFatalExit
Action start 08:41:08: ISCleanUpFatalExit.
MSI (c) (BC:18) [08:41:08:970]: Note: 1: 2235 2:  3: ExtendedType 4: SELECT `Action`,`Type`,`Source`,`Target`, NULL, `ExtendedType` FROM `CustomAction` WHERE `Action` = 'ISCleanUpFatalExit'
MSI (c) (BC:80) [08:41:08:986]: Invoking remote custom action. DLL: C:\Users\ADMINI~1\AppData\Local\Temp\3\MSIB517.tmp, Entrypoint: CleanUp
Action ended 08:41:08: ISCleanUpFatalExit. Return value 1.
Action ended 08:41:08: SetupCompleteError. Return value 2.
Action ended 08:41:08: INSTALL. Return value 3.
CustomAction ISMsiServerStartup returned actual error code 1603 but will be translated to success due to continue marking
Action ended 08:41:08: ISMsiServerStartup. Return value 1603.
MSI (c) (BC:A0) [08:41:09:002]: Destroying RemoteAPI object.
MSI (c) (BC:F8) [08:41:09:002]: Custom Action Manager thread ending.
=== Logging stopped: 08.06.2010  08:41:09 ===
MSI (c) (BC:A0) [08:41:09:002]: Note: 1: 1708
MSI (c) (BC:A0) [08:41:09:002]: Product: BPS_Environment_V1.00 -- Installation operation failed.

MSI (c) (BC:A0) [08:41:09:002]: Windows Installer installed the product. Product Name: BPS_Environment_V1.00. Product Version: 1.00. Product Language: 1033. Manufacturer: Siemens AG. Installation success or error status: 1603.

MSI (c) (BC:A0) [08:41:09:002]: Grabbed execution mutex.
MSI (c) (BC:A0) [08:41:09:002]: Cleaning up uninstalled install packages, if any exist
MSI (c) (BC:A0) [08:41:09:002]: MainEngineThread is returning 1603
=== Verbose logging stopped: 08.06.2010  08:41:09 ===


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 08 June 2010 - 08:47

This might be cause by DCOM security settings. Avoid InstallScript, or if you can't: try a newer version of InstallShield, as the communication with the script engine has been changed to avoid such problems.

kretmatt

kretmatt
  • Full Members
  • 10 posts

Posted 08 June 2010 - 10:04

Thanks Stefan,
That is not the answer I want to hear! sad.gif

What would you recommend instead of InstallScript?
PowerShell?

Thanks,
Matthias

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 08 June 2010 - 19:40

The cleanest form of a custom action would be a DLL written in C.

BTW I'm not saying that DCOM is the cause of your problem for sure, it's just a common issue. Did you search the knowledge base? There are some tips how this might be resolved in some cases.

However, Windows 7 (and Server 2008 R2 is the server sibling of Windows 7) isn't officially supported by InstallShield 11 which was released five years ago.

Maybe you want to test it with the trial version of InstallShield 2010 to see if that would solve the problem.

kretmatt

kretmatt
  • Full Members
  • 10 posts

Posted 09 June 2010 - 07:48

QUOTE (Stefan Krueger @ 2010-06-08 19:40)
Maybe you want to test it with the trial version of InstallShield 2010 to see if that would solve the problem.

That is exactly what I did, yesterday.
I created MSIs of the "old" projects and installed them on 2008 without any problems.

Therefore we will upgrade to 2010.
Thank you very much!

Grettings,
Matthias