MithatErsoy
Posts: 6
Joined: Tue Oct 07, 2008 11:26 pm

Running MSI as Local system

I did generate msi package for Firefox installation. When I ran the installation as Administrator, I didn't come across any problem. The application
have installed successfully. On the other hand, if the application runs as 'Local System', even though it successfully installs, it generates the
following error :

Tue, 18 Nov 2008 13:43:13 Installing MSI package
Initializing the MSI package information
Starting the installation of the MSI package
Installing MSI package from '\\landesk.ecmwf.int\packages\Firefox\3.0.3\firefox3.0.3.msi' using options ' ALLUSERS=1 REBOOT=ReallySuppress'
Failed to install the MSI package.
Installing MSI package (-10 seconds)
Installation of the MSI package failed

Tue, 18 Nov 2008 13:43:13 MSI result 8DAC4002
Tue, 18 Nov 2008 13:43:13 processing of package is complete, result -1918091262 (0x8dac4002 - code 16386)

As we use LANDESK to distribute msi packages, I would accept to receive success code on completion. Is there any explaination for this behaviour with error codes ?

Note: I have the following software installation options configured for that specific msi package:

Package type : 32 bits
Installation Type: Per-machie if user is administrator, per-user otherwise
Reboot prompts : Suppress all Reboots and Reboot prompts


Thanks in advance in answering my question
MithatErsoy
Posts: 6
Joined: Tue Oct 07, 2008 11:26 pm

Re: Running MSI as Local system

In case it helps you to find out the cause of the problem, here is the logfile of msi installation, which returns failure code :

Tue, 18 Nov 2008 14:11:48 Installing MSI package
Initializing the MSI package information
Starting the installation of the MSI package
Installing MSI package from '\\landesk.ecmwf.int\packages\Firefox\3.0.3\firefox3.0.3.msi' using options ' ALLUSERS=1 REBOOT=ReallySuppress'
Starting Action : Action 14:11:04: INSTALL.
Starting Action : Action 14:11:04: AppSearch. Searching for installed applications
Starting Action : Action 14:11:04: FindRelatedProducts. Searching for related applications
Starting Action : Action 14:11:04: LaunchConditions. Evaluating launch conditions
Starting Action : Action 14:11:04: CCPSearch. Searching for qualifying products
Starting Action : Action 14:11:04: RMCCPSearch. Searching for qualifying products
Starting Action : Action 14:11:04: ValidateProductID.
Starting Action : Action 14:11:04: AI_RESTORE_LOCATION.
Starting Action : Action 14:11:04: SET_APPDIR.
Starting Action : Action 14:11:04: SET_SHORTCUTDIR.
Starting Action : Action 14:11:04: SET_TARGETDIR_TO_APPDIR.
Starting Action : Action 14:11:04: CostInitialize. Computing space requirements
Starting Action : Action 14:11:04: FileCost. Computing space requirements
Starting Action : Action 14:11:04: IsolateComponents.
Starting Action : Action 14:11:04: CostFinalize. Computing space requirements
Starting Action : Action 14:11:04: SetODBCFolders. Initializing ODBC directories
Starting Action : Action 14:11:04: MigrateFeatureStates. Migrating feature states from related applications
Starting Action : Action 14:11:04: InstallValidate. Validating install
Starting Action : Action 14:11:19: RemoveExistingProducts. Removing applications
Starting Action : Action 14:11:19: InstallInitialize.
Starting Action : Action 14:11:19: AI_STORE_LOCATION.
Starting Action : Action 14:11:19: AllocateRegistrySpace. Allocating registry space
Starting Action : Action 14:11:19: ProcessComponents. Updating component registration
Starting Action : Action 14:11:19: GenerateScript. Generating script operations for action:
Starting Action : Action 14:11:19: MsiUnpublishAssemblies. Unpublishing assembly information
Starting Action : Action 14:11:19: UnpublishComponents. Unpublishing Qualified Components
Starting Action : Action 14:11:19: UnpublishFeatures. Unpublishing Product Features
Starting Action : Action 14:11:19: StopServices. Stopping services
Starting Action : Action 14:11:19: DeleteServices. Deleting services
Starting Action : Action 14:11:19: UnregisterComPlus. Unregistering COM+ Applications and Components
Starting Action : Action 14:11:19: SelfUnregModules. Unregistering modules
Starting Action : Action 14:11:19: UnregisterTypeLibraries. Unregistering type libraries
Starting Action : Action 14:11:19: RemoveODBC. Removing ODBC components
Starting Action : Action 14:11:19: UnregisterFonts. Unregistering fonts
Starting Action : Action 14:11:19: RemoveRegistryValues. Removing system registry values
Starting Action : Action 14:11:19: UnregisterClassInfo. Unregister Class servers
Starting Action : Action 14:11:19: UnregisterExtensionInfo. Unregistering extension servers
Starting Action : Action 14:11:19: UnregisterProgIdInfo. Unregistering program identifiers
Starting Action : Action 14:11:19: UnregisterMIMEInfo. Unregistering MIME info
Starting Action : Action 14:11:19: RemoveIniValues. Removing INI files entries
Starting Action : Action 14:11:19: RemoveShortcuts. Removing shortcuts
Starting Action : Action 14:11:19: RemoveEnvironmentStrings. Updating environment strings
Starting Action : Action 14:11:19: RemoveDuplicateFiles. Removing duplicated files
Starting Action : Action 14:11:19: RemoveFiles. Removing files
Starting Action : Action 14:11:19: RemoveFolders. Removing folders
Starting Action : Action 14:11:19: CreateFolders. Creating folders
Starting Action : Action 14:11:19: MoveFiles. Moving files
Starting Action : Action 14:11:19: InstallFiles. Copying new files
Starting Action : Action 14:11:19: PatchFiles. Patching files
Starting Action : Action 14:11:19: DuplicateFiles. Creating duplicate files
Starting Action : Action 14:11:19: BindImage. Binding executables
Starting Action : Action 14:11:19: CreateShortcuts. Creating shortcuts
Starting Action : Action 14:11:19: RegisterClassInfo. Registering Class servers
Starting Action : Action 14:11:19: RegisterExtensionInfo. Registering extension servers
Starting Action : Action 14:11:19: RegisterProgIdInfo. Registering program identifiers
Starting Action : Action 14:11:19: RegisterMIMEInfo. Registering MIME info
Starting Action : Action 14:11:19: WriteRegistryValues. Writing system registry values
Starting Action : Action 14:11:19: WriteIniValues. Writing INI files values
Starting Action : Action 14:11:19: WriteEnvironmentStrings. Updating environment strings
Starting Action : Action 14:11:19: RegisterFonts. Registering fonts
Starting Action : Action 14:11:19: InstallODBC. Installing ODBC components
Starting Action : Action 14:11:19: RegisterTypeLibraries. Registering type libraries
Starting Action : Action 14:11:19: SelfRegModules. Registering modules
Starting Action : Action 14:11:19: RegisterComPlus. Registering COM+ Applications and Components
Starting Action : Action 14:11:19: InstallServices. Installing new services
Starting Action : Action 14:11:19: StartServices. Starting services
Starting Action : Action 14:11:19: RegisterUser. Registering user
Starting Action : Action 14:11:19: RegisterProduct. Registering product
Starting Action : Action 14:11:19: PublishComponents. Publishing Qualified Components
Starting Action : Action 14:11:20: MsiPublishAssemblies. Publishing assembly information
Starting Action : Action 14:11:20: PublishFeatures. Publishing Product Features
Starting Action : Action 14:11:20: PublishProduct. Publishing product information
Starting Action : Action 14:11:20: InstallFinalize.
Starting Action : Action 14:11:20: ProcessComponents. Updating component registration
Starting Action : Action 14:11:20: RemoveODBC. Removing ODBC components
Starting Action : Action 14:11:20: RemoveRegistryValues. Removing system registry values
Starting Action : Action 14:11:20: RemoveFiles. Removing files
Starting Action : Action 14:11:20: CreateFolders. Creating folders
Starting Action : Action 14:11:20: InstallFiles. Copying new files
Starting Action : Action 14:11:42: CreateShortcuts. Creating shortcuts
Starting Action : Action 14:11:42: WriteRegistryValues. Writing system registry values
Starting Action : Action 14:11:42: WriteIniValues. Writing INI files values
Starting Action : Action 14:11:43: RegisterProduct. Registering product
Starting Action : Action 14:11:45: PublishFeatures. Publishing Product Features
Starting Action : Action 14:11:45: PublishProduct. Publishing product information
Starting Action : Action 14:11:46: RollbackCleanup. Removing backup files
Failed to install the MSI package.
Installing MSI package (-46 seconds)
Installation of the MSI package failed

Tue, 18 Nov 2008 14:11:48 MSI result 8DAC4002
Tue, 18 Nov 2008 14:11:48 processing of package is complete, result -1918091262 (0x8dac4002 - code 16386)
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Running MSI as Local system

Hi,

It seems that this problem is encountered only when using LANDesk (a Google search returns only LANDesk links). Perhaps this will help you:
http://community.landesk.com/support/thread/1770

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
MithatErsoy
Posts: 6
Joined: Tue Oct 07, 2008 11:26 pm

Re: Running MSI as Local system

Thanks for your reply. I have already read the article you were pointing at.

Would it be possible to capture the error code during the execution and if it meets a certain criteria, ie: if error code is 12345, then take some action.
( for instance, I might say 'set the success code to 0' )

I hope I will find a solution to this problem as the main reason why I have bought Advanced Installer is to utilize the msi packages via LANDESK.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Running MSI as Local system

Hi,
Would it be possible to capture the error code during the execution and if it meets a certain criteria, ie: if error code is 12345, then take some action.
I'm afraid that this is not supported by Advanced Installer.

Since the problem is seen only with LANDesk, I'm not sure if it can be fixed from within Windows Installer or with Advanced Installer.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”