Ask Question Forum:
Model Library:2025-02-08:A.I. model is online auto reply
C
O
M
P
U
T
E
R
2
8
Show
#
ASK
RECENT
←
- Underline
- Bold
- Italic
- Indent
- Step
- Bullet
- Quote
- Cut
- Copy
- Paste
- Table
- Spelling
- Find & Replace
- Undo
- Redo
- Link
- Attach
- Clear
- Code
Below area will not be traslated by Google,you can input code or other languages
Hint:If find spelling error, You need to correct it,1 by 1 or ignore it (code area won't be checked).
X-position of the mouse cursor
Y-position of the mouse cursor
Y-position of the mouse cursor
Testcursor
caretPos
Attachment:===
Asked by mawingho
at 2024-09-06 01:03:18
Point:500 Replies:2 POST_ID:829221USER_ID:10
Topic:
Installation;Miscellaneous Software;Microsoft Windows Operating Systems
I want to test the installer to make sure it revert the installation process if failed.
Therefore, I want to edit the cab file that will be read by the installer.
I want to delete one file from the cab file, how can I do it?
This is the installer for my testing purpose.
ftp://ftp.isu.edu.tw/Vendor/Inventec/DreyeX_Upgrade/dreyeX_upgrade.exe
This .exe file will extract many files, and then there is a setup.exe to install the software
Also, there is a data2.cab file that will be read by setup.exe.
I hope someone can help.
Therefore, I want to edit the cab file that will be read by the installer.
I want to delete one file from the cab file, how can I do it?
This is the installer for my testing purpose.
ftp://ftp.isu.edu.tw/Vendor/Inventec/DreyeX_Upgrade/dreyeX_upgrade.exe
This .exe file will extract many files, and then there is a setup.exe to install the software
Also, there is a data2.cab file that will be read by setup.exe.
I hope someone can help.
Accepted Solution
Expert: rwniceing replied at 2024-09-07 09:11:18
500 points GOOD
Here is steps to extract and rebulid cab file.
1 this link describes some methods to extract or open the cab file at http://www.ehow.com/how_7415109_open-cab-file.html, after that you can
modifiy those files with right editors
2-Download cabarc.exe program at http://www.nu2.nu/download.php?sFile=makev3.zip Or find the file at c:windowsystem32 .
(cabarc.ee that is replaced by makecab.exe at c:windowsystem32, but I tried makecab.exe that is hard to build cab file if the files is also including sub-folders unless you put all files into DDF file after parsing all sub-folder name with "dir /s /b /a-d >all-files.txt" and "makecab /d 'CabinetName1=test.cab' /f all-files.txt", but it may have other error if some file name are same regardless from which sub-folder)
3- type cabarc.exe to read the command manual at makev3 directory after download
4-try this example command on command shell at c:yourdirmakev3> as follows
cabarc.exe -r -p -P test.cab c:yourdiryourcabdir*.*
So now you have new test.cab file after changing those files extracted from old cab file. Hope that is what you need.
Rwnicewing
1 this link describes some methods to extract or open the cab file at http://www.ehow.com/how_7415109_open-cab-file.html, after that you can
modifiy those files with right editors
2-Download cabarc.exe program at http://www.nu2.nu/download.php?sFile=makev3.zip Or find the file at c:windowsystem32 .
(cabarc.ee that is replaced by makecab.exe at c:windowsystem32, but I tried makecab.exe that is hard to build cab file if the files is also including sub-folders unless you put all files into DDF file after parsing all sub-folder name with "dir /s /b /a-d >all-files.txt" and "makecab /d 'CabinetName1=test.cab' /f all-files.txt", but it may have other error if some file name are same regardless from which sub-folder)
3- type cabarc.exe to read the command manual at makev3 directory after download
4-try this example command on command shell at c:yourdirmakev3> as follows
cabarc.exe -r -p -P test.cab c:yourdiryourcabdir*.*
So now you have new test.cab file after changing those files extracted from old cab file. Hope that is what you need.
Rwnicewing
Expert: David Johnson, CD, MVP replied at 2024-09-06 10:17:43
I want to delete one file from the cab file, how can I do it?
use winrar/7zip to open the .cab file and then delete that file
note to others: this is a 1.1GB File
use winrar/7zip to open the .cab file and then delete that file
note to others: this is a 1.1GB File