Installing under System Account
Posted: Tue Jul 23, 2013 4:19 pm
I am evaluating install aware 15 (trial) and am trying to verify the MSI I created can run under the SYSTEM account
I am executing via the following command
c:\pstools\psexec.exe -i -s msiexec.exe /i "C:\_debug\mysetup_20130723.msi" CMDLINE="ALLUSERS=TRUE" /quiet /l "c:\_debug\as_system.log"
The setup runs but it finishes very quickly, with msiexec returning an error code of zero. Nothing is installed, is this a limitation of the trial version? It runs fine under my account.
The as_system.log file created by the command above is below
Thank You
=== Logging started: 7/23/2013 18:30:22 ===
Action start 18:30:22: INSTALL.
Action start 18:30:22: AppSearch.
Action ended 18:30:22: AppSearch. Return value 0.
Action start 18:30:22: LaunchConditions.
Action ended 18:30:22: LaunchConditions. Return value 1.
Action start 18:30:22: ValidateProductID.
Action ended 18:30:22: ValidateProductID. Return value 1.
Action start 18:30:22: CostInitialize.
Action ended 18:30:22: CostInitialize. Return value 1.
Action start 18:30:22: ResolveSource.
Action ended 18:30:22: ResolveSource. Return value 1.
Action start 18:30:22: FileCost.
Action ended 18:30:22: FileCost. Return value 1.
Action start 18:30:22: CostFinalize.
Action ended 18:30:22: CostFinalize. Return value 1.
Action start 18:30:22: InstallValidate.
Action ended 18:30:22: InstallValidate. Return value 1.
Action start 18:30:22: InstallInitialize.
Action ended 18:30:23: InstallInitialize. Return value 1.
Action start 18:30:23: GPDEPLOY.
Action ended 18:30:24: GPDEPLOY. Return value 1.
Action start 18:30:24: ProcessComponents.
Action ended 18:30:24: ProcessComponents. Return value 1.
Action start 18:30:24: UnpublishFeatures.
Action ended 18:30:24: UnpublishFeatures. Return value 1.
Action start 18:30:24: RemoveRegistryValues.
Action ended 18:30:24: RemoveRegistryValues. Return value 1.
Action start 18:30:24: RemoveIniValues.
Action ended 18:30:24: RemoveIniValues. Return value 1.
Action start 18:30:24: RemoveFiles.
Action ended 18:30:24: RemoveFiles. Return value 0.
Action start 18:30:24: InstallFiles.
Action ended 18:30:24: InstallFiles. Return value 1.
Action start 18:30:24: WriteRegistryValues.
Action ended 18:30:24: WriteRegistryValues. Return value 1.
Action start 18:30:24: WriteIniValues.
Action ended 18:30:24: WriteIniValues. Return value 1.
Action start 18:30:24: SelfRegModules.
Action ended 18:30:24: SelfRegModules. Return value 1.
Action start 18:30:24: RegisterUser.
Action ended 18:30:24: RegisterUser. Return value 0.
Action start 18:30:24: RegisterProduct.
Action ended 18:30:24: RegisterProduct. Return value 1.
Action start 18:30:24: PublishFeatures.
Action ended 18:30:24: PublishFeatures. Return value 1.
Action start 18:30:24: PublishProduct.
Action ended 18:30:24: PublishProduct. Return value 1.
Action start 18:30:24: InstallFinalize.
Action ended 18:30:25: InstallFinalize. Return value 1.
Action ended 18:30:25: INSTALL. Return value 1.
MSI (s) (48:A4) [18:30:25:995]: Product: MySetup -- Configuration completed successfully.
MSI (s) (48:A4) [18:30:26:055]: Windows Installer reconfigured the product. Product Name: MySetup. Product Version: 1.0. Product Language: English. Manufacturer: XYZ Technology. Reconfiguration success or error status: 0.
=== Logging stopped: 7/23/2013 18:30:25 ===
I am executing via the following command
c:\pstools\psexec.exe -i -s msiexec.exe /i "C:\_debug\mysetup_20130723.msi" CMDLINE="ALLUSERS=TRUE" /quiet /l "c:\_debug\as_system.log"
The setup runs but it finishes very quickly, with msiexec returning an error code of zero. Nothing is installed, is this a limitation of the trial version? It runs fine under my account.
The as_system.log file created by the command above is below
Thank You
=== Logging started: 7/23/2013 18:30:22 ===
Action start 18:30:22: INSTALL.
Action start 18:30:22: AppSearch.
Action ended 18:30:22: AppSearch. Return value 0.
Action start 18:30:22: LaunchConditions.
Action ended 18:30:22: LaunchConditions. Return value 1.
Action start 18:30:22: ValidateProductID.
Action ended 18:30:22: ValidateProductID. Return value 1.
Action start 18:30:22: CostInitialize.
Action ended 18:30:22: CostInitialize. Return value 1.
Action start 18:30:22: ResolveSource.
Action ended 18:30:22: ResolveSource. Return value 1.
Action start 18:30:22: FileCost.
Action ended 18:30:22: FileCost. Return value 1.
Action start 18:30:22: CostFinalize.
Action ended 18:30:22: CostFinalize. Return value 1.
Action start 18:30:22: InstallValidate.
Action ended 18:30:22: InstallValidate. Return value 1.
Action start 18:30:22: InstallInitialize.
Action ended 18:30:23: InstallInitialize. Return value 1.
Action start 18:30:23: GPDEPLOY.
Action ended 18:30:24: GPDEPLOY. Return value 1.
Action start 18:30:24: ProcessComponents.
Action ended 18:30:24: ProcessComponents. Return value 1.
Action start 18:30:24: UnpublishFeatures.
Action ended 18:30:24: UnpublishFeatures. Return value 1.
Action start 18:30:24: RemoveRegistryValues.
Action ended 18:30:24: RemoveRegistryValues. Return value 1.
Action start 18:30:24: RemoveIniValues.
Action ended 18:30:24: RemoveIniValues. Return value 1.
Action start 18:30:24: RemoveFiles.
Action ended 18:30:24: RemoveFiles. Return value 0.
Action start 18:30:24: InstallFiles.
Action ended 18:30:24: InstallFiles. Return value 1.
Action start 18:30:24: WriteRegistryValues.
Action ended 18:30:24: WriteRegistryValues. Return value 1.
Action start 18:30:24: WriteIniValues.
Action ended 18:30:24: WriteIniValues. Return value 1.
Action start 18:30:24: SelfRegModules.
Action ended 18:30:24: SelfRegModules. Return value 1.
Action start 18:30:24: RegisterUser.
Action ended 18:30:24: RegisterUser. Return value 0.
Action start 18:30:24: RegisterProduct.
Action ended 18:30:24: RegisterProduct. Return value 1.
Action start 18:30:24: PublishFeatures.
Action ended 18:30:24: PublishFeatures. Return value 1.
Action start 18:30:24: PublishProduct.
Action ended 18:30:24: PublishProduct. Return value 1.
Action start 18:30:24: InstallFinalize.
Action ended 18:30:25: InstallFinalize. Return value 1.
Action ended 18:30:25: INSTALL. Return value 1.
MSI (s) (48:A4) [18:30:25:995]: Product: MySetup -- Configuration completed successfully.
MSI (s) (48:A4) [18:30:26:055]: Windows Installer reconfigured the product. Product Name: MySetup. Product Version: 1.0. Product Language: English. Manufacturer: XYZ Technology. Reconfiguration success or error status: 0.
=== Logging stopped: 7/23/2013 18:30:25 ===