How to edit InstallShield .cab without triggering error -5005 : 0x8007000d?
Did i miss a step?
user_Setup.exe File version: 9.1.0.429
Issue:
Need to remove an exe inside InstallShield.exe,聽user_Setup.exe.
i have the source file but it is very outdated. Already lost the .ism files used to build the current InstallShield.exe,聽user_Setup.exe
Used Universal Extractor to get InstallShield .cab files and other files (setup.exe included). Before i edit the .cab file, I can run聽setup.exe without triggering any error. Then I use iscab.exe to edit the .cab file. When I run聽setup.exe, it immediately prompt:
An error (-5005 : 0x8007000d) has occurred while running the setup.
Detail>>
Error Message:
Error Code: -5005 : 0x8007000d
Error Information:
>KernelKernelMedia.cpp (95)
>KernelKernelMedia.cpp (95)
>SetupDLLSetupDLL.cpp (1619)
If edit setup.ini, CheckMD5=Y to CheckMD5=N, the same error message appears.
Edit InstallShield .cab
Steps taken:
- Place iscab.exe in C:Program FilesInstallShield2010System
- Launch cmd.exe
- List all file groups and files in cabfile to inifile, allfiles.ini
iscab.exe C:UsersuserDesktopTestuser_SetupDisk1data1.cab -i"allfiles.ini" -lx - Remove files listed in the inifile, removefiles.ini
iscab.exe C:UsersuserDesktopTestuser_SetupDisk1data1.cab -i"removefiles.ini" -r - Error message appear when run setup.exe
- Restore data1.cab with original .cab
- Replace one existing file listed in the inifile, replacefiles.ini in order to troubleshoot
iscab.exe C:UsersuserDesktopTestuser_SetupDisk1data1.cab -i"replacefiles.ini" -a - Generate inifile, replacefiles.ini and the compare the contents with allfiles.ini
Both inifile contents are matching - Same error message with step 5 appear when run聽setup.exe
- Edit setup.ini, CheckMD5=Y to CheckMD5=N
- Same error message with step 5 appear when run聽setup.exe
Edit 20181109 PM1330 harrymc
Convert .exe files into a project file
Steps taken:
- Open and Edit聽setup.exe files using InstallShield
File | Open...
File name: *
Open As: Auto or Wizard
Select聽setup.exe -
Error message appear:
InstallShield cannot open C:UsersuserDesktopTestuser_SetupDisk1setup.exe. Please contact Acresso technical support for more information. -
Open and Edit聽user_Setup.exe files using InstallShield
File | Open...
File name: *
Open As: Auto or Wizard
Select聽user_Setup.exe -
Error message appear:
InstallShield cannot open C:UsersuserDesktopTestuser_Setup.exe. Please contact Acresso technical support for more information. -
Open and Edit聽Start.exe files using InstallShield
File | Open...
File name: *
Open As: Auto or Wizard
Select聽Start.exe - Error message appear:
InstallShield cannot open C:UsersuserDesktopStart.exe. Please contact Acresso technical support for more information.
Reference:
Universal Extractor
How do I extract an InstallShield Cabinet file?
How to update an InstallShield v6.x CAB file
Modified .cab file causes installer to throw error 1334
I Didn鈥檛 Know InstallShield Could Do That?
Extra Info:
By using Universal Extractor from LegRoom.net,
i will get the following files/folders:
Disk1 (Folder)
|- data1.cab (File)
|- data1.hdr (File)
|- data2.cab (File)
|- engine32.cab (File)
|- layout.bin (File)
|- setup.exe (File)
|- setup.ibt (File)
|- setup.ini (File)
|- setup.inx (File)
Content of removefiles.ini:
[ISCAB Info]
Product=ISCAB
Version=2.0
[Tools]
File10="commonnircmdc.exe"
File58="Toolscommonnircmdc.exe"
[Language Independent OS Independent Files]
File2="nircmdc.exe"
Content of replacefiles.ini:
[ISCAB Info]
Product=ISCAB
Version=2.0
[AdminScripts]
File6="user.bat"
Content of setup.ini:
[Startup]
AppName=user_Setup
ProductGUID=DD1111D1-1D11-111D-1DDD-D11111111D1D
CompanyName=user
CompanyURL=https://superuser.com
ErrorReportURL=http://www.installshield.com/isetup/ProErrorCentral.asp?ErrorCode=%d : 0x%x&ErrorInfo=%s
MediaFormat=1
LogMode=1
Resource=_Setup.dll
SmallProgress=N
SplashTime=5
CheckMD5=Y
CmdLine=
ShowPasswordDialog=N
EngineVersion=9.1.0.429
EngineBinding=1
[Languages]
Default=0x0009
count=1
key0=0x0009