cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
MarkEarle
Level 6

Upgraded MSI install does not uninstall

Hello all,

I have updated a Basic MSI installation from IS11.0 to IS2008 following the steps outlined by RobertDickau. When I ran it for testing I got the following error after InstallFinalize.

---------------------------
InstallShield DLL Custom Action
---------------------------
Unknown source '$'.
---------------------------
OK
---------------------------


I am not as familiar with MSI development as I am with InstallScript development so I looked through the forums. I did not find anything really pertaining to this error except that it stems from a custom action. I am sure I have no designer custom action enabled.

The problem is now I can not remove, overwrite or update the application. When I try I get the above error and then;
---------------------------
Add or Remove Programs
---------------------------
Fatal error during installation.


---------------------------
OK
---------------------------


I ran the uninstallation again today with verbose logging on and the results are below;

=== Verbose logging started: 3/3/2008 9:47:22 Build type: SHIP UNICODE 3.01.4000.4042 Calling process: C:\WINDOWS\system32\msiexec.exe ===
MSI (c) (9C:28) [09:47:22:919]: Resetting cached policy values
MSI (c) (9C:28) [09:47:22:919]: Machine policy value 'Debug' is 0
MSI (c) (9C:28) [09:47:22:919]: ******* RunEngine:
******* Product: {7AC4411E-3231-4BB3-AD5C-4B4479C21EEB}
******* Action:
******* CommandLine: **********
MSI (c) (9C:28) [09:47:22:919]: Client-side and UI is none or basic: Running entire install on the server.
MSI (c) (9C:28) [09:47:22:919]: Grabbed execution mutex.
MSI (c) (9C:28) [09:47:22:950]: Cloaking enabled.
MSI (c) (9C:28) [09:47:22:950]: Attempting to enable all disabled priveleges before calling Install on Server
MSI (c) (9C:28) [09:47:22:966]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (DC:1C) [09:47:22:982]: Grabbed execution mutex.
MSI (s) (DC:24) [09:47:22:982]: Resetting cached policy values
MSI (s) (DC:24) [09:47:22:982]: Machine policy value 'Debug' is 0
MSI (s) (DC:24) [09:47:22:982]: ******* RunEngine:
******* Product: {7AC4411E-3231-4BB3-AD5C-4B4479C21EEB}
******* Action:
******* CommandLine: **********
MSI (s) (DC:24) [09:47:22:982]: Machine policy value 'DisableUserInstalls' is 0
MSI (s) (DC:24) [09:47:22:982]: End dialog not enabled
MSI (s) (DC:24) [09:47:22:982]: Original package ==> C:\WINDOWS\Installer\65190df.msi
MSI (s) (DC:24) [09:47:22:982]: Package we're running from ==> C:\WINDOWS\Installer\65190df.msi
MSI (s) (DC:24) [09:47:22:982]: APPCOMPAT: looking for appcompat database entry with ProductCode '{7AC4411E-3231-4BB3-AD5C-4B4479C21EEB}'.
MSI (s) (DC:24) [09:47:22:982]: APPCOMPAT: no matching ProductCode found in database.
MSI (s) (DC:24) [09:47:22:982]: MSCOREE not loaded loading copy from system32
MSI (s) (DC:24) [09:47:22:982]: Machine policy value 'DisablePatch' is 0
MSI (s) (DC:24) [09:47:22:982]: Machine policy value 'AllowLockdownPatch' is 0
MSI (s) (DC:24) [09:47:22:982]: Machine policy value 'DisableLUAPatching' is 0
MSI (s) (DC:24) [09:47:22:982]: Machine policy value 'DisableFlyWeightPatching' is 0
MSI (s) (DC:24) [09:47:22:982]: APPCOMPAT: looking for appcompat database entry with ProductCode '{7AC4411E-3231-4BB3-AD5C-4B4479C21EEB}'.
MSI (s) (DC:24) [09:47:22:982]: APPCOMPAT: no matching ProductCode found in database.
MSI (s) (DC:24) [09:47:22:982]: Transforms are not secure.
MSI (s) (DC:24) [09:47:22:982]: Command Line: REMOVE=ALL CURRENTDIRECTORY=D:\InstallShield 2008 Projects CLIENTUILEVEL=2 CLIENTPROCESSID=5276
MSI (s) (DC:24) [09:47:22:982]: PROPERTY CHANGE: Adding PackageCode property. Its value is '{04AC9610-78B5-4869-B505-9A410BFAD1EB}'.
MSI (s) (DC:24) [09:47:22:982]: Product Code passed to Engine.Initialize: '{7AC4411E-3231-4BB3-AD5C-4B4479C21EEB}'
MSI (s) (DC:24) [09:47:22:982]: Product Code from property table before transforms: '{7AC4411E-3231-4BB3-AD5C-4B4479C21EEB}'
MSI (s) (DC:24) [09:47:22:982]: Product Code from property table after transforms: '{7AC4411E-3231-4BB3-AD5C-4B4479C21EEB}'
MSI (s) (DC:24) [09:47:22:982]: Product registered: entering maintenance mode
MSI (s) (DC:24) [09:47:22:997]: PROPERTY CHANGE: Adding ProductState property. Its value is '5'.
MSI (s) (DC:24) [09:47:22:997]: PROPERTY CHANGE: Adding ProductToBeRegistered property. Its value is '1'.
MSI (s) (DC:24) [09:47:22:997]: Package name retrieved from configuration data: 'is25A.tmp'
MSI (s) (DC:24) [09:47:22:997]: Determined that existing product (either this product or the product being upgraded with a patch) is installed per-user.
MSI (s) (DC:24) [09:47:22:997]: Note: 1: 2729
MSI (s) (DC:24) [09:47:22:997]: Note: 1: 2729
MSI (s) (DC:24) [09:47:22:997]: Note: 1: 2262 2: AdminProperties 3: -2147287038
MSI (s) (DC:24) [09:47:22:997]: Machine policy value 'DisableMsi' is 1
MSI (s) (DC:24) [09:47:22:997]: Machine policy value 'AlwaysInstallElevated' is 0
MSI (s) (DC:24) [09:47:22:997]: User policy value 'AlwaysInstallElevated' is 0
MSI (s) (DC:24) [09:47:22:997]: Product {7AC4411E-3231-4BB3-AD5C-4B4479C21EEB} is not managed.
MSI (s) (DC:24) [09:47:22:997]: Running product '{7AC4411E-3231-4BB3-AD5C-4B4479C21EEB}' with user privileges: It's not assigned.
MSI (s) (DC:24) [09:47:22:997]: PROPERTY CHANGE: Adding REMOVE property. Its value is 'ALL'.
MSI (s) (DC:24) [09:47:22:997]: PROPERTY CHANGE: Adding CURRENTDIRECTORY property. Its value is 'D:\InstallShield 2008 Projects'.
MSI (s) (DC:24) [09:47:22:997]: PROPERTY CHANGE: Adding CLIENTUILEVEL property. Its value is '2'.
MSI (s) (DC:24) [09:47:22:997]: PROPERTY CHANGE: Adding CLIENTPROCESSID property. Its value is '5276'.
MSI (s) (DC:24) [09:47:22:997]: TRANSFORMS property is now:
MSI (s) (DC:24) [09:47:22:997]: PROPERTY CHANGE: Adding PRODUCTLANGUAGE property. Its value is '1033'.
MSI (s) (DC:24) [09:47:22:997]: PROPERTY CHANGE: Adding VersionDatabase property. Its value is '200'.
MSI (s) (DC:24) [09:47:22:997]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\si\Application Data
MSI (s) (DC:24) [09:47:22:997]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\si\Favorites
MSI (s) (DC:24) [09:47:22:997]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\si\NetHood
MSI (s) (DC:24) [09:47:22:997]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\si\My Documents
MSI (s) (DC:24) [09:47:22:997]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\si\PrintHood
MSI (s) (DC:24) [09:47:22:997]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\si\Recent
MSI (s) (DC:24) [09:47:23:013]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\si\SendTo
MSI (s) (DC:24) [09:47:23:013]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\si\Templates
MSI (s) (DC:24) [09:47:23:013]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\All Users\Application Data
MSI (s) (DC:24) [09:47:23:013]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\si\Local Settings\Application Data
MSI (s) (DC:24) [09:47:23:013]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\si\My Documents\My Pictures
MSI (s) (DC:24) [09:47:23:013]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\si\Start Menu\Programs\Administrative Tools
MSI (s) (DC:24) [09:47:23:013]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\si\Start Menu\Programs\Startup
MSI (s) (DC:24) [09:47:23:013]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\si\Start Menu\Programs
MSI (s) (DC:24) [09:47:23:013]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\si\Start Menu
MSI (s) (DC:24) [09:47:23:013]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\si\Desktop
MSI (s) (DC:24) [09:47:23:013]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\All Users\Start Menu\Programs\Administrative Tools
MSI (s) (DC:24) [09:47:23:029]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\All Users\Start Menu\Programs\Startup
MSI (s) (DC:24) [09:47:23:029]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\All Users\Start Menu\Programs
MSI (s) (DC:24) [09:47:23:029]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\All Users\Start Menu
MSI (s) (DC:24) [09:47:23:029]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\All Users\Desktop
MSI (s) (DC:24) [09:47:23:029]: SHELL32::SHGetFolderPath returned: C:\WINDOWS\Fonts
MSI (s) (DC:24) [09:47:23:029]: Note: 1: 2898 2: MS Sans Serif 3: MS Sans Serif 4: 0 5: 16
MSI (s) (DC:24) [09:47:23:029]: PROPERTY CHANGE: Adding Privileged property. Its value is '1'.
MSI (s) (DC:24) [09:47:23:029]: PROPERTY CHANGE: Adding USERNAME property. Its value is ''.
MSI (s) (DC:24) [09:47:23:029]: PROPERTY CHANGE: Adding COMPANYNAME property. Its value is ''.
MSI (s) (DC:24) [09:47:23:029]: PROPERTY CHANGE: Adding Installed property. Its value is '2008/02/27 12:05:18'.
MSI (s) (DC:24) [09:47:23:029]: PROPERTY CHANGE: Adding DATABASE property. Its value is 'C:\WINDOWS\Installer\65190df.msi'.
MSI (s) (DC:24) [09:47:23:029]: PROPERTY CHANGE: Adding OriginalDatabase property. Its value is 'C:\WINDOWS\Installer\65190df.msi'.
MSI (s) (DC:24) [09:47:23:029]: Note: 1: 2205 2: 3: PatchPackage
MSI (s) (DC:24) [09:47:23:029]: Machine policy value 'DisableRollback' is 0
MSI (s) (DC:24) [09:47:23:029]: User policy value 'DisableRollback' is 0
MSI (s) (DC:24) [09:47:23:029]: PROPERTY CHANGE: Adding UILevel property. Its value is '3'.
=== Logging started: 3/3/2008 9:47:23 ===
MSI (s) (DC:24) [09:47:23:029]: PROPERTY CHANGE: Adding Preselected property. Its value is '1'.
MSI (s) (DC:24) [09:47:23:029]: PROPERTY CHANGE: Adding ACTION property. Its value is 'INSTALL'.
MSI (s) (DC:24) [09:47:23:029]: Doing action: INSTALL
MSI (s) (DC:24) [09:47:23:029]: Running ExecuteSequence
MSI (s) (DC:24) [09:47:23:029]: Doing action: ISMsiDbgHlpr.StartUp
Action start 9:47:23: INSTALL.
MSI (s) (DC:BC) [09:47:23:029]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI5B6.tmp, Entrypoint: StartUp
MSI (s) (DC:70) [09:47:23:029]: Generating random cookie.
MSI (s) (DC:70) [09:47:23:044]: Created Custom Action Server with PID 4200 (0x1068).
MSI (s) (DC:50) [09:47:23:060]: Running as a service.
MSI (s) (DC:50) [09:47:23:060]: Hello, I'm your 32bit Impersonated custom action server.

[Removed for brevity]...

Action start 9:47:23: ISMsiDbgHlpr.StartUp.
MSI (s) (DC:24) [09:47:23:122]: Doing action: ISMsiDbgHlpr.f84
Action ended 9:47:23: ISMsiDbgHlpr.StartUp. Return value 1.
MSI (s) (DC:60) [09:47:23:122]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI5B8.tmp, Entrypoint: f84
Action start 9:47:23: ISMsiDbgHlpr.f84.
MSI (s) (DC:24) [09:47:23:138]: Doing action: ISSetupFilesExtract
Action ended 9:47:23: ISMsiDbgHlpr.f84. Return value 1.
MSI (s) (DC:F0) [09:47:23:138]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI5B9.tmp, Entrypoint: DLL3
Action start 9:47:23: ISSetupFilesExtract.
Action ended 9:47:24: ISSetupFilesExtract. Return value 3.
Action ended 9:47:24: INSTALL. Return value 3.

[Removed for brevity]...

Property(S): DiskPrompt = [1]

[Removed for brevity]...

Property(S): UpgradeCode = {1BE5EDE8-1309-469A-9187-A64D732819D2}

[Removed for brevity]...

Property(S): ACTION = INSTALL
Property(S): Preselected = 1
Property(S): UILevel = 3
Property(S): OriginalDatabase = C:\WINDOWS\Installer\65190df.msi
Property(S): DATABASE = C:\WINDOWS\Installer\65190df.msi
Property(S): Privileged = 1
Property(S): RedirectedDllSupport = 2
Property(S): MsiWin32AssemblySupport = 5.2.3790.3959
Property(S): MsiNetAssemblySupport = 2.0.50727.1433
Property(S): Date = 3/3/2008
Property(S): Time = 9:47:24
Property(S): TTCSupport = 1
Property(S): ColorBits = 32
Property(S): TextHeight = 16
Property(S): BorderSide = 1
Property(S): BorderTop = 1
Property(S): CaptionHeight = 19
Property(S): ScreenY = 1024
Property(S): ScreenX = 1280
Property(S): SystemLanguageID = 1033
Property(S): ComputerName =
Property(S): UserLanguageID = 1033
Property(S): UserSID = S-1-5-21-3506717557-1833320443-2181110176-3621
Property(S): LogonUser = si
Property(S): AdminUser = 1
Property(S): VirtualMemory = 5096
Property(S): PhysicalMemory = 4029
Property(S): Intel = 6
Property(S): ShellAdvtSupport = 1
Property(S): OLEAdvtSupport = 1
Property(S): GPTSupport = 1
Property(S): FontsFolder = C:\WINDOWS\Fonts\
Property(S): DesktopFolder = C:\Documents and Settings\si\Desktop\
Property(S): StartMenuFolder = C:\Documents and Settings\si\Start Menu\
Property(S): StartupFolder = C:\Documents and Settings\si\Start Menu\Programs\Startup\
Property(S): AdminToolsFolder = C:\Documents and Settings\si\Start Menu\Programs\Administrative Tools\
Property(S): MyPicturesFolder = C:\Documents and Settings\si\My Documents\My Pictures\
Property(S): LocalAppDataFolder = C:\Documents and Settings\si\Local Settings\Application Data\
Property(S): CommonAppDataFolder = C:\Documents and Settings\All Users\Application Data\
Property(S): TemplateFolder = C:\Documents and Settings\si\Templates\
Property(S): SendToFolder = C:\Documents and Settings\si\SendTo\
Property(S): RecentFolder = C:\Documents and Settings\si\Recent\
Property(S): PrintHoodFolder = C:\Documents and Settings\si\PrintHood\
Property(S): PersonalFolder = C:\Documents and Settings\si\My Documents\
Property(S): NetHoodFolder = C:\Documents and Settings\si\NetHood\
Property(S): Installed = 2008/02/27 12:05:18
Property(S): FavoritesFolder = C:\Documents and Settings\si\Favorites\
Property(S): AppDataFolder = C:\Documents and Settings\si\Application Data\
Property(S): TempFolder = C:\DOCUME~1\si\LOCALS~1\Temp\
Property(S): RemoteAdminTS = 1
Property(S): System16Folder = C:\WINDOWS\system\
Property(S): SystemFolder = C:\WINDOWS\system32\
Property(S): WindowsVolume = C:\
Property(S): WindowsFolder = C:\WINDOWS\
Property(S): MsiNTProductType = 3
Property(S): ServicePackLevelMinor = 0
Property(S): ServicePackLevel = 2
Property(S): WindowsBuild = 3790
Property(S): VersionMsi = 3.01
Property(S): VersionDatabase = 200
Property(S): PRODUCTLANGUAGE = 1033
Property(S): CLIENTPROCESSID = 5276
Property(S): CLIENTUILEVEL = 2
Property(S): CURRENTDIRECTORY = D:\InstallShield 2008 Projects
Property(S): REMOVE = ALL
Property(S): ProductToBeRegistered = 1
Property(S): ProductState = 5
Property(S): PackageCode = {04AC9610-78B5-4869-B505-9A410BFAD1EB}

[Removed for brevity]...

Property(S): ISCHECKFORPRODUCTUPDATES = 1
Property(S): ApplicationUsers = AllUsers
Property(S): AgreeToLicense = No
Property(S): _IsMaintenance = Change
Property(S): SetupType = Typical
Property(S): _IsSetupTypeMin = Typical
Property(S): IS_SQLSERVER_USERNAME = sa
Property(S): IS_SQLSERVER_AUTHENTICATION = 0
Property(S): Display_IsBitmapDlg = 1
Property(S): ARPPRODUCTICON = ARPPRODUCTICON.exe
Property(S): DefaultUIFont = Tahoma8
Property(S): DialogCaption = InstallShield for Windows Installer
Property(S): DisplayNameCustom = Custom
Property(S): DisplayNameMinimal = Minimal
Property(S): DisplayNameTypical = Typical
Property(S): DWUSINTERVAL = 30
Property(S): ErrorDialog = SetupError
Property(S): PROGMSG_IIS_EXTRACTzDONE = Extracted information for IIS virtual directories...
Property(S): InstallChoice = AR
Property(S): INSTALLLEVEL = 100
Property(S): IS_COMPLUS_PROGRESSTEXT_COST = Costing COM+ application: [1]
Property(S): IS_COMPLUS_PROGRESSTEXT_INSTALL = Installing COM+ application: [1]
Property(S): IS_COMPLUS_PROGRESSTEXT_UNINSTALL = Uninstalling COM+ application: [1]
Property(S): IS_PROGMSG_XML_COSTING = Costing XML files...
Property(S): IS_PROGMSG_XML_CREATE_FILE = Creating XML file %s...
Property(S): IS_PROGMSG_XML_FILES = Performing XML file changes...
Property(S): IS_PROGMSG_XML_REMOVE_FILE = Removing XML file %s...
Property(S): IS_PROGMSG_XML_ROLLBACK_FILES = Rolling back XML file changes...
Property(S): IS_PROGMSG_XML_UPDATE_FILE = Updating XML file %s...
Property(S): ISMsiDbgHlpr.f46 = C:\DOCUME~1\si\LOCALS~1\Temp\is5B7.tmp
Property(S): ISSCRIPT_VERSION_MISSING = The InstallScript engine is missing from this machine. If available, please run ISScript.msi, or contact your support personnel for further assistance.
Property(S): ISVROOT_PORT_NO = 0

[Removed for brevity]...

MSI (s) (DC:24) [09:47:24:904]: Note: 1: 1725
MSI (s) (DC:24) [09:47:24:919]: Product: -- Removal failed.

MSI (s) (DC:24) [09:47:24:919]: Cleaning up uninstalled install packages, if any exist
MSI (s) (DC:24) [09:47:24:919]: MainEngineThread is returning 1603
MSI (s) (DC:1C) [09:47:24:919]: Destroying RemoteAPI object.
MSI (s) (DC:70) [09:47:24:919]: Custom Action Manager thread ending.
=== Logging stopped: 3/3/2008 9:47:24 ===
MSI (c) (9C:28) [09:47:24:919]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (c) (9C:28) [09:47:24:919]: MainEngineThread is returning 1603
=== Verbose logging stopped: 3/3/2008 9:47:24 ===

The only thing I can see is the warning about the InstallScript engine missing but with three different InstallShield versions installed and the majority of development in InstallScript I find that hard to believe.

If anyone could give me a hand it would be really appreciated because I can not see where I went wrong.

Cheers,

ME
Labels (1)
0 Kudos
(2) Replies
joshstechnij
Level 10 Flexeran
Level 10 Flexeran

The ISSetupFilesExtract custom action is failing:
Action ended 9:47:24: ISSetupFilesExtract. Return value 3.

This is a bit odd, since the first line of code in the action writes a message to a verbose log.

Based on the lines above this action failing, it appears this package had been installed by running with the MSI debugger in the InstallShield IDE. The entry point being used for the ISSetupFilesExtract custom action is DLL3, which does not exist in the support files custom action DLL (only SFStartupEx, SFCleanupEx). This could be a side effect of using the debugger to install/test the MSI package.

Can you try installing the package without using the debugger in the IDE?

(You can use the Windows Installer Cleanup Utility to remove this package from the box if it can't be uninstalled, or, edit the cached MSI package with Orca and condition out the ISSetupFilesExtract action and see if that helps proceed past the failure.)
0 Kudos
MarkEarle
Level 6

joshstechnij,

Thanks very much. 🙂 I was running in debug mode when I first installed and it was bad ever since. I have removed the config with the clean up utility, which installs with Wise, and was able to install and uninstall the setup.

Really appreciate it.

Cheers,

ME
0 Kudos