kali, on 24 April 2012 - 09:45 AM, said:
I also tried to make Office2003 nlite addon using SFX Maker and it is my problem. Because it doesn't work as nlite addon.
SFXMaker is not able to create RunOnceEx-type addon. You need to do it manually.
Here is how (a quick one) to do it.
I'm assuming Office2003_XP_addon.exe is already an unattended 2003 installer that you make using SFXMaker.
Hence you simply download
ROE_uTorrent_addon_3.2B26883.cab and modify the package from there.
1) After download, rename to ROE_Office2003_XP_addon.cab and extract the addon to subfolder.
2) Rename Entries_uTorrentBlue.ini to Entries_Offce2003.ini
3) Replace / save the whole content of Entries_Offce2003.ini with below code:
;=========Start Copy below this line=========
;###################################
; ROE Office 2003 installation
;###################################
[general]
builddate=25 April 2012
description=MS Office 2003
language=English
title=MS Office 2003
version=2003
website=http://office.microsoft.com/en-us/downloads/CD001022529.aspx
[EditFile]
I386\SVCPACK.INF,SetupHotfixesToRun,AddProgram
[AddProgram]
Office2003_XP_addon.cmd
;=========End Copy above this line=========
4) Nav to svcpack folder. Rename utorrentSilentScript.cmd to Office2003_XP_addon.cmd
5) Delete existing 2 exe. (Keep Office2003_XP_addon.cmd)
6) Put Office2003_XP_addon.exe into svcpack folder
So you have 2 files now. (.cmd & .exe each)
7) Replace / save Office2003_XP_addon.cmd content with the following:
::=========Start Copy below this line=========
@echo off
set ROE=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\Office2003
reg add %ROE% /ve /t REG_SZ /d "MS Office 2003" /f>NUL
reg add %ROE% /v 1 /t Reg_sz /d "%~dpn0.exe" /f>NUL
::=========Start Copy below this line=========
8) Manually testing the cmd now... Just execute the cmd script. Go to registry to check that the ROE entry is added properly. Then delete Office2003 mainkey (caution: not the RunOnceEx key) after testing.
9) Recab back Office2003_XP_addon back to nlite addon type (such as .cab format). (Folder structure should be exactly the same as ROE_uTorrent_addon_3.2B26883.cab)
10) Test your addon in VM. Remove any existing Office files from the $oem$\1\Office2003 folder. Remove existing GUIRunOnce entries. Integrate ROE_Office2003_XP_addon.cab like any normal nlite addon.
Office 2003 should start installing after 1st reboot.
There is another method using 7zsfx modified module. A bit more complicated but more advanced. No need cmd file.
Tool /
tutorial for more info. I won't want to post here now. Take 1 step at a time. Just give a try the method describe above first.