I actually did capture and it works fine but I want to get this done the "right" way.

I've created a transform for a piece of software released by, "Accord Products". The MSI is called, "Accord Products.msi". How convenient. :)

This is an installshield based application. Using Orca, I opened the .MSI and added the line, "ISSETUPDRIVEN=1" to the properties table. I then used Wise to create the transform.

Installed "msiexec /i .... Transforms=.... /qb /l*v c:\temp\log...." You get the picture... The software proceeds to install but then of course backs out. Here are a few lines from my log file (a little before and a little after the first instance of, "Return Value 3".)




[hr]




MSI (s) (78:EC) [16:35:50:046]: Processing cached transform: C:\WINDOWS\Installer\{BA04FD4C-43F0-4FBE-90A6-7BFBCCA358B2}\JPMCCDImageViewer_7.04.30_B01.mst
MSI (s) (78:EC) [16:35:50:046]: Registering cached transform: C:\WINDOWS\Installer\{BA04FD4C-43F0-4FBE-90A6-7BFBCCA358B2}\ACCORD Products.mst
MSI (s) (78:EC) [16:35:50:046]: Note: 1: 1402 2: UNKNOWN\Installer\Products\C4DF40AB0F34EBF4096AB7BFCC3A852B 3: 2
MSI (s) (78:EC) [16:35:50:046]: Note: 1: 1402 2: UNKNOWN\Installer\Products\C4DF40AB0F34EBF4096AB7BFCC3A852B 3: 2
MSI (s) (78:EC) [16:35:50:046]: Note: 1: 1402 2: UNKNOWN\Installer\Products\C4DF40AB0F34EBF4096AB7BFCC3A852B 3: 2
MSI (s) (78:EC) [16:35:50:046]: Note: 1: 1402 2: UNKNOWN\Installer\Products\C4DF40AB0F34EBF4096AB7BFCC3A852B 3: 2
MSI (s) (78:EC) [16:35:50:046]: Note: 1: 1402 2: UNKNOWN\Installer\Products\C4DF40AB0F34EBF4096AB7BFCC3A852B 3: 2
MSI (s) (78:EC) [16:35:50:046]: Note: 1: 1402 2: UNKNOWN\Installer\Products\C4DF40AB0F34EBF4096AB7BFCC3A852B 3: 2
MSI (s) (78:EC) [16:35:50:046]: Note: 1: 1402 2: UNKNOWN\Installer\Products\C4DF40AB0F34EBF4096AB7BFCC3A852B 3: 2
MSI (s) (78:EC) [16:35:50:046]: Note: 1: 1402 2: UNKNOWN\Installer\Products\C4DF40AB0F34EBF4096AB7BFCC3A852B 3: 2
MSI (s) (78:EC) [16:35:50:046]: Note: 1: 1402 2: UNKNOWN\Installer\Products\C4DF40AB0F34EBF4096AB7BFCC3A852B 3: 2
MSI (s) (78:EC) [16:35:50:046]: Note: 1: 1402 2: UNKNOWN\Installer\Products\C4DF40AB0F34EBF4096AB7BFCC3A852B 3: 2
MSI (s) (78:EC) [16:35:50:061]: Executing op: UpgradeCodePublish(UpgradeCode={120495EC-6B6C-4AE7-BB0F-449BA492B132})
MSI (s) (78:EC) [16:35:50:061]: Executing op: SourceListPublish(,,DiskPromptTemplate=[1],,NumberOfDisks=6)
MSI (s) (78:EC) [16:35:50:061]: Note: 1: 1402 2: UNKNOWN\Installer\Products\C4DF40AB0F34EBF4096AB7BFCC3A852B\SourceList 3: 2
MSI (s) (78:EC) [16:35:50:061]: Executing op: ProductPublishClient(,,)
MSI (s) (78:EC) [16:35:50:061]: Executing op: SourceListRegisterLastUsed(SourceProduct={BA04FD4C-43F0-4FBE-90A6-7BFBCCA358B2},LastUsedSource=C:\Temp\)
MSI (s) (78:EC) [16:35:50:061]: Entering CMsiConfigurationManager::SetLastUsedSource.
MSI (s) (78:EC) [16:35:50:061]: Specifed source is already in a list.
MSI (s) (78:EC) [16:35:50:061]: User policy value 'SearchOrder' is 'nmu'
MSI (s) (78:EC) [16:35:50:061]: Machine policy value 'DisableBrowse' is 0
MSI (s) (78:EC) [16:35:50:061]: Machine policy value 'AllowLockdownBrowse' is 0
MSI (s) (78:EC) [16:35:50:061]: Adding new sources is allowed.
MSI (s) (78:EC) [16:35:50:061]: Set LastUsedSource to: C:\Temp\.
MSI (s) (78:EC) [16:35:50:061]: Set LastUsedType to: n.
MSI (s) (78:EC) [16:35:50:061]: Set LastUsedIndex to: 1.
MSI (s) (78:EC) [16:35:50:061]: Executing op: ActionStart(Name=RollbackSetupInstallIni,,)
MSI (s) (78:EC) [16:35:50:061]: Executing op: CustomActionSchedule(Action=RollbackSetupInstallIni,ActionType=1281,Source=BinaryData,Target=f15,)
MSI (s) (78:EC) [16:35:50:061]: Executing op: ActionStart(Name=SetupInstallIni,,)
MSI (s) (78:EC) [16:35:50:061]: Executing op: CustomActionSchedule(Action=SetupInstallIni,ActionType=1025,Source=BinaryData,Target=f14,)
MSI (s) (78:80) [16:35:50:108]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI811.tmp, Entrypoint: f14
MSI (s) (78:EC) [16:35:50:390]: User policy value 'DisableRollback' is 0
MSI (s) (78:EC) [16:35:50:390]: Machine policy value 'DisableRollback' is 0
Action ended 16:35:50: InstallFinalize. Return value 3.
MSI (s) (78:EC) [16:35:50:406]: Executing op: Header(Signature=1397708873,Version=301,Timestamp=1046578290,LangId=1033,Platform=0,ScriptType=2,ScriptMajorVersion=21,ScriptMinorVersion=4,ScriptAttributes=1)
MSI (s) (78:EC) [16:35:50:406]: Executing op: DialogInfo(Type=0,Argument=1033)
MSI (s) (78:EC) [16:35:50:406]: Executing op: DialogInfo(Type=1,Argument=ACCORD Products)
MSI (s) (78:EC) [16:35:50:406]: Executing op: RollbackInfo(,RollbackAction=Rollback,RollbackDescription=Rolling back action:,RollbackTemplate=[1],CleanupAction=RollbackCleanup,CleanupDescription=Removing backup files,CleanupTemplate=File: [1])
MSI (s) (78:EC) [16:35:50:406]: Executing op: RegisterBackupFile(File=C:\Config.Msi\1f3b36.rbf)
MSI (s) (78:EC) [16:35:50:406]: Executing op: ActionStart(Name=SetupInstallIni,,)
MSI (s) (78:EC) [16:35:50:406]: Executing op: ProductInfo(ProductKey={BA04FD4C-43F0-4FBE-90A6-7BFBCCA358B2},ProductName=ACCORD Products,PackageName=ACCORD Products.msi,Language=1033,Version=117702686,Assignment=1,ObsoleteArg=0,ProductIcon=ARPPRODUCTICON.exe,,PackageCode={EB386364-DC22-462B-B5F5-395AF88CD023},,,InstanceType=0,LUASetting=0,RemoteURTInstalls=0)
MSI (s) (78:EC) [16:35:50:406]: Executing op: ActionStart(Name=RollbackSetupInstallIni,,)
MSI (s) (78:EC) [16:35:50:406]: Executing op: CustomActionRollback(Action=RollbackSetupInstallIni,ActionType=1281,Source=BinaryData,Target=f15,)
MSI (s) (78:3C) [16:35:50:421]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI812.tmp, Entrypoint: f15
MSI (s) (78:EC) [16:35:50:578]: Executing op: ActionStart(Name=PublishProduct,Description=Publishing product information,)
MSI (s) (78:EC) [16:35:50:578]: Executing op: RegOpenKey(Root=-2147483646,Key=Software\Classes\Installer\Products\C4DF40AB0F34EBF4096AB7BFCC3A852B\SourceList\Net,,BinaryType=0)
MSI (s) (78:EC) [16:35:50:578]: Executing op: RegOpenKey(Root=-2147483646,Key=Software\Classes\Installer\Products\C4DF40AB0F34EBF4096AB7BFCC3A852B\SourceList,,BinaryType=0)
MSI (s) (78:EC) [16:35:50:594]: Executing op: RegRemoveValue(Name=LastUsedSource,Value=#%n;1;C:\Temp\,)
MSI (s) (78:EC) [16:35:50:594]: Executing op: RegCreateKey()
MSI (s) (78:EC) [16:35:50:594]: Executing op: RegOpenKey(Root=-2147483646,Key=Software\Classes\Installer\Products\C4DF40AB0F34EBF4096AB7BFCC3A852B,,BinaryType=0)
MSI (s) (78:EC) [16:35:50:594]: Executing op: RegRemoveValue(Name=Clients,Value=[~]:,)
MSI (s) (78:EC) [16:35:50:594]: Executing op: RegCreateKey()
MSI (s) (78:EC) [16:35:50:594]: Executing op: RegOpenKey(Root=-2147483646,Key=Software\Classes\Installer\Products\C4DF40AB0F34EBF4096AB7BFCC3A852B\SourceList\Media,,BinaryType=0)
MSI (s) (78:EC) [16:35:50:594]: Executing op: RegRemoveValue(Name=6,Value=DISK1;1,)
MSI (s) (78:EC) [16:35:50:594]: Executing op: RegCreateKey()
MSI (s) (78:EC) [16:35:50:594]: Executing op: RegOpenKey(Root=-2147483646,Key=Software\Classes\Installer\Products\C4DF40AB0F34EBF4096AB7BFCC3A852B\SourceList\Media,,BinaryType=0)
MSI (s) (78:EC) [16:35:50:594]: Executing op: RegRemoveValue(Name=5,Value=DISK1;1,)
MSI (s) (78:EC) [16:35:50:594]: Executing op: RegCreateKey()
MSI (s) (78:EC) [16:35:50:594]: Executing op: RegOpenKey(Root=-2147483646,Key=Software\Classes\Installer\Products\C4DF40AB0F34EBF4096AB7BFCC3A852B\SourceList\Media,,BinaryType=0)
MSI (s) (78:EC) [16:35:50:594]: Executing op: RegRemoveValue(Name=4,Value=DISK1;1,)
MSI (s) (78:EC) [16:35:50:594]: Executing op: RegCreateKey()
MSI (s) (78:EC) [16:35:50:594]: Executing op: RegOpenKey(Root=-2147483646,Key=Software\Classes\Installer\Products\C4DF40AB0F34EBF4096AB7BFCC3A852B\SourceList\Media,,BinaryType=0)
MSI (s) (78:EC) [16:35:50:594]: Executing op: RegRemoveValue(Name=3,Value=DISK1;1,)
MSI (s) (78:EC) [16:35:50:594]: Executing op: RegCreateKey()




[hr]



I notice the "Unknown values" anyone else know? There are a ton of CA's in this package and they all appear to be Installshield BS.

Thanks for your help.
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
What happens when you "dont" run the install silently ?
Answered 03/01/2011 by: reds4eva
Second Degree Blue Belt

Please log in to comment
0
Firstly, please use the CODE tags when posting logs or other lengthy text

Second, I suspect the problematic CA is either RollbackSetupInstallIni or SetupInstallIni. Run the package through your authoring tool's debugger and, just before stepping into these actions, start monitoring with ProcMon. My guess is that they're looking for the presence of a SETUP.INI file. More InstallShield BS! LOL
Answered 03/02/2011 by: VBScab
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity