[Bug] RVM Integrator 1.0.2 [Fixed in version 1.0.3]

Questions about Update Pack making? Ask here.
Locked
User avatar
vier
Posts: 531
Joined: Tue Nov 08, 2005 11:24 am

[Bug] RVM Integrator 1.0.2 [Fixed in version 1.0.3]

Post by vier » Tue Nov 08, 2005 12:20 pm

If I integrate a first time my Update Pack : no problem, pack integrate. And Install WIndows without problems. I not integrate add-on.

If in second time I integrate addon pack after integrate first my update pack and not in same time. The addon in svcpack folder (example MSjava...) not install.

The file msjava is in the svcpack folder after integrate. But when install windows at T-12 time, the MSJava (or another) don't install.

If I edit svcpack.inf (after extract) : the file contain no data.
Last edited by vier on Tue Nov 08, 2005 1:33 pm, edited 1 time in total.

User avatar
dgelwin
Posts: 1152
Joined: Wed Aug 10, 2005 1:33 am
Location: Tegucigalpa, Honduras

Post by dgelwin » Tue Nov 08, 2005 1:27 pm

jum i cant understand very well what your trying to explain, the install takes place during windows setup, the executable in the pack is exactly that only a executable that runs during setup. i hope that answers your question but if you can give more info i will be glad to help
Don't sweat petty things....or pet sweaty things

User avatar
vier
Posts: 531
Joined: Tue Nov 08, 2005 11:24 am

Post by vier » Tue Nov 08, 2005 1:34 pm

I modify my post.

User avatar
Siginet
Site Admin
Posts: 2894
Joined: Fri May 27, 2005 1:07 pm
Location: Planet Earth
Contact:

Post by Siginet » Tue Nov 08, 2005 1:40 pm

Hmmm... I will look into this. But there shouldn't be an issue like this. The addons are completley seperate from the update pack and they never need the update pack installed or not.
Image
--Siginet--

Techware
Your Virtual Technician
Computer Management Software

User avatar
dgelwin
Posts: 1152
Joined: Wed Aug 10, 2005 1:33 am
Location: Tegucigalpa, Honduras

Post by dgelwin » Tue Nov 08, 2005 1:42 pm

if i get this right the first time you used the integrator all you installed was the update pack, then created iso.

the second time you use the integrator you apply it to the same source as you applied previously the update pack?

does the problem only occur with programm addons or with all addons?

can you plz upload a copy of svcpack.in_ to check it out?

is it only with the msjava addon or other program install addons?


help me so i can help you.
Don't sweat petty things....or pet sweaty things

User avatar
vier
Posts: 531
Joined: Tue Nov 08, 2005 11:24 am

Post by vier » Tue Nov 08, 2005 1:50 pm

if i get this right the first time you used the integrator all you installed was the update pack, then created iso.
I test the install : not problem.
the second time you use the integrator you apply it to the same source as you applied previously the update pack?
yes
does the problem only occur with programm addons or with all addons?
The problem appear if the addon modify the svcpack.inf file : http://perso.wanadoo.fr/olivierpack/test/SVCPACK.IN_

User avatar
vier
Posts: 531
Joined: Tue Nov 08, 2005 11:24 am

Post by vier » Tue Nov 08, 2005 1:55 pm

I had the same problem with auto-it script for modify the svcpack.inf in certain condition. I think certain function corrupt this file.

I have perhaps a solution, if you change the code. I create three little functions to add text in another text, with a log file contain the text to add.

Contact me for the explication and code for test a version of integrator with this modification.
Last edited by vier on Tue Nov 08, 2005 2:05 pm, edited 1 time in total.

User avatar
dgelwin
Posts: 1152
Joined: Wed Aug 10, 2005 1:33 am
Location: Tegucigalpa, Honduras

Post by dgelwin » Tue Nov 08, 2005 2:02 pm

yup your svcpack is corrupted, can you plz do me a favor and upload only the entries .ini file found in the addon, im curious i think i know what the problem is
Don't sweat petty things....or pet sweaty things

User avatar
dgelwin
Posts: 1152
Joined: Wed Aug 10, 2005 1:33 am
Location: Tegucigalpa, Honduras

Post by dgelwin » Tue Nov 08, 2005 2:12 pm

what may be happening is that you may have a corrupt cab file, but anyway dont worry im sure if its an error in the integrator siginet will fix it by the next release.
Don't sweat petty things....or pet sweaty things

User avatar
vier
Posts: 531
Joined: Tue Nov 08, 2005 11:24 am

Post by vier » Tue Nov 08, 2005 2:26 pm

The svcpack.inf is before the add-on intégration !!! But the install is correct.

I make my own nLite-like soft. And I test to modify the svcpack.inf and with auto-it script in certain condition corrupt the file.

I sure is a problem with auto-it. If you want. I send my entries for update pack :

;############################################################################################
;# entries.ini
;# ---------------------
;# This file contains a list of all entries that need to be added to various Windows
;# setup files upon integration of the RyanVM Update Pack.
;############################################################################################

;This section contains version info for nLite
[general]
builddate=2005/11/04
description=CreateurXP Post-SP2 Update Pack for Windows XP
language=FRancais
title=CreateurXP Update Pack
version=1.0.0
website=http://createurxp.win-web.be/

;This section contains the variables used for the RyanVM filenames
[filenames]
maininf=CXPUpPck.inf

;This section contains entries that need to go into the [Components] section of sysoc.inf
[sysoc]
HotfixUpdates=ocgen.dll,OcEntry,CXPUpPck.inf,HIDE,7

;This section contains entries that need to go into the [Files] section of dosnet.inf
[dosnet_files]
d1,%maininf%
d1,MRT.exe
d1,qfecheck.exe
d1,spmsg.dll
d1,spuninst.exe
d1,spupdsvc.exe
d1,update.exe
d1,updspapi.dll
d1,muweb.dll
d1,wups2.dll
d1,xpsp3res.dll
d1,Shortcut.exe

;This section contains entries that need to go into the [WinntDirectories] section of txtsetup.sif
[txtsetup_dirs]
241 = system32\PreInstall\WinSE\wxp_x86_040C_v1

;This section contains entries that need to go into the [SourceDisksFiles] section of txtsetup.sif
[txtsetup_files]
%maininf% = 100,,,,,,,20,0,0
MRT.exe = 100,,,,,,,2,0,0
qfecheck.exe = 100,,,,,,,2,0,0
spcustom.dll = 100,,,,,,,241,0,0,spcustom.dll.ref
spmsg.dll = 100,,,,,,,241,0,0,spmsg.dll.ref
spuninst.exe = 100,,,,,,,241,0,0,spuninst.exe.ref
spupdsvc.exe = 100,,,,,,,241,0,0,spupdsvc.exe.ref
update.exe = 100,,,,,,,241,0,0,update.exe.ref
updspapi.dll = 100,,,,,,,241,0,0,updspapi.dll.ref
muweb.dll = 100,,,,,,,2,0,0
wups2.dll = 100,,,,,,,2,0,0
xpsp3res.dll = 100,,,,,,,2,0,0
Shortcut.exe = 100,,,,,,,2,0,0

;The section contains the list of catalog files that must added to svcpack.inf
[svcpack_catalogs]
KB319740.cat
KB873339.cat
KB885826.cat
KB885835.cat
KB885836.cat
KB885894.cat
KB886185.cat
KB886677.cat
KB886716.cat
KB887472.cat
KB887606.cat
KB887742.cat
KB887797.cat
KB888113.cat
KB888302.cat
KB890046.cat
KB890831.cat
KB890859.cat
KB891781.cat
KB893066.cat
KB893756.cat
KB893803.cat
KB896358.cat
KB896422.cat
KB896423.cat
KB896428.cat
KB896626.cat
KB896688.cat
KB897663.cat
KB898461.cat
KB899587.cat
KB899589.cat
KB899591.cat
KB900725.cat
KB900930.cat
KB901017.cat
KB901214.cat
KB902400.cat
KB904412.cat
KB904706.cat
KB905414.cat
KB905749.cat
KB906569.cat
KB907865.cat

;This section contains the list of files which exist in both driver.cab and the i386 directory.
;They will be expanded into the expanded driver folder during driver cab updating.
[drivercab_expand]
http.sy_
mrxsmb.sy_
ntkrnlmp.ex_
ntoskrnl.ex_
ohci1394.sy_

;This section contains the list of updated files which exist only in driver.cab.
;They will be moved into the expanded driver folder during driver cab updating.
[drivercab_move]
ntkrnlpa.exe
ntkrpamp.exe

;This section contains the list of updated files which exist only in mmssetup.cab.
;They will be moved into the expanded driver folder during Windows Messenger cab updating.
[mmssetupcab_move]
msmsgs.exe

;This section contains a list of files which exist in both driver.cab and i386
;This is used in conjunction with the (highly experimental) driver cab cleanup function
;This functionality is not yet enabled in the GUI integrator
[dupedrivers]
1394bus.sys
1394vdbg.sys
abp480n5.sys
acpi.sys
acpiec.sys
adpu160m.sys
aha154x.sys
aic78u2.sys
aic78xx.sys
aliide.sys
amsint.sys
asc.sys
asc3350p.sys
asc3550.sys
atapi.sys
binlsvc.dll
blutooth.chm
bthci.dll
bthenum.sys
bthmodem.sys
bthpan.sys
bthport.sys
bthprint.sys
bthprops.cpl
bthserv.dll
bthusb.sys
cbidf2k.sys
cd20xrnt.sys
cdrom.sys
cmdide.sys
cpqarray.sys
cxthsfs2.cty
dac2w2k.sys
dac960nt.sys
disk.sys
dpti2o.sys
dxg.sys
fdc.sys
flpydisk.sys
fsquirt.exe
ftdisk.sys
hal.dll
halaacpi.dll
halacpi.dll
halapic.dll
halmacpi.dll
halmps.dll
halsp.dll
hccoin.dll
hidbth.sys
hidclass.sys
hidir.sys
hidparse.sys
hidusb.sys
hpn.sys
hsfbs2s2.sys
hsfcisp2.dll
hsfcxts2.sys
hsfdpsp2.sys
http.sys
i2omgmt.sys
i2omp.sys
i8042prt.sys
imapi.sys
ini910u.sys
intelide.sys
intelppm.sys
irbus.sys
irprops.cpl
isapnp.sys
kbdclass.sys
kbdhid.sys
lbrtfdc.sys
mdmxsdk.dll
mdmxsdk.sys
mraid35x.sys
mrxsmb.sys
mtlmnt5.sys
mtlstrm.sys
mutohpen.sys
ntkrnlmp.exe
ntmtlfax.sys
ntoskrnl.exe
ohci1394.sys
oprghdlr.sys
pci.sys
pciide.sys
pciidex.sys
pcmcia.sys
perc2.sys
perc2hib.sys
ql1080.sys
ql10wnt.sys
ql12160.sys
ql1240.sys
ql1280.sys
recagent.sys
rfcomm.sys
rndismpx.sys
sbp2port.sys
scsiport.sys
sdbus.sys
sdhcinst.dll
serenum.sys
serial.sys
sffdisk.sys
sffp_sd.sys
sfloppy.sys
siint5.dll
slcoinst.dll
slextspk.dll
slgen.dll
slip.sys
slnt7554.sys
slntamr.sys
slnthal.sys
slrundll.exe
slserv.exe
slwdmsup.sys
sparrow.sys
streamip.sys
symc810.sys
symc8xx.sys
sym_hi.sys
sym_u3.sys
tffsport.sys
toside.sys
ultra.sys
usb8023x.sys
usbccgp.sys
usbd.sys
usbehci.sys
usbhub.sys
usbohci.sys
usbport.sys
usbstor.sys
usbuhci.sys
vchnt5.dll
viaide.sys
wacompen.sys
wshbth.dll

;This section contains a list of files in i386 which should be compressed before the
;update pack CAB is extracted during the integration process
[i386_compress]
ASMS\1\default\default.cat
ASMS\2\default\default.cat
ASMS\10\msft\windows\gdiplus\gdiplus.cat
ASMS\10\msft\windows\gdiplus\gdiplus.dll
ASMS\10\policy\msft\windows\gdiplus\gdiplus.cat
ASMS\52\msft\windows\net\dxmrtp\dxmrtp.cat
ASMS\52\msft\windows\net\dxmrtp\dxmrtp.dll
ASMS\52\msft\windows\net\rtcdll\rtcdll.cat
ASMS\52\msft\windows\net\rtcdll\rtcdll.dll
ASMS\52\msft\windows\net\rtcres\rtcres.cat
ASMS\52\msft\windows\net\rtcres\rtcres.dll
ASMS\52\policy\msft\windows\networking\dxmrtp\dxmrtp.cat
ASMS\52\policy\msft\windows\networking\rtcdll\rtcdll.cat
ASMS\60\msft\windows\common\controls\comctl32.dll
ASMS\60\msft\windows\common\controls\controls.cat
ASMS\60\policy\60\comctl\comctl.cat
ASMS\70\msft\windows\mswincrt\msvcirt.dll
ASMS\70\msft\windows\mswincrt\msvcrt.dll
ASMS\70\msft\windows\mswincrt\mswincrt.cat
ASMS\70\policy\msft\mswincrt\mswincrt.cat
ASMS\1000\MSFT\WINDOWS\GDIPLUS\GDIPLUS.CAT
ASMS\1000\MSFT\WINDOWS\GDIPLUS\GDIPLUS.DLL
ASMS\5100\MSFT\WINDOWS\SYSTEM\DEFAULT\DEFAULT.CAT
ASMS\6000\MSFT\VCRTL\ATL.DLL
ASMS\6000\MSFT\VCRTL\MFC42.DLL
ASMS\6000\MSFT\VCRTL\MFC42U.DLL
ASMS\6000\MSFT\VCRTL\MSVCP60.DLL
ASMS\6000\MSFT\VCRTL\VCRTL.CAT
ASMS\6000\MSFT\WINDOWS\COMMON\CONTROLS\COMCTL32.DLL
ASMS\6000\MSFT\WINDOWS\COMMON\CONTROLS\CONTROLS.CAT
ASMS\7000\MSFT\WINDOWS\MSWINCRT\MSVCIRT.DLL
ASMS\7000\MSFT\WINDOWS\MSWINCRT\MSVCRT.DLL
ASMS\7000\MSFT\WINDOWS\MSWINCRT\MSWINCRT.CAT

;This section contains a list of obsolete hotfixes which shouldn't be installed
[obsolete]

User avatar
Siginet
Site Admin
Posts: 2894
Joined: Fri May 27, 2005 1:07 pm
Location: Planet Earth
Contact:

Post by Siginet » Tue Nov 08, 2005 2:37 pm

Check your hash on the MSJava addon.
Image
--Siginet--

Techware
Your Virtual Technician
Computer Management Software

User avatar
vier
Posts: 531
Joined: Tue Nov 08, 2005 11:24 am

Post by vier » Tue Nov 08, 2005 2:38 pm

I think is code is modify for create svcpack.inf :

For add text in svcpack.inf I propose this :

First read section in entries.ini create a log file contain the entries to add, example :
KB896626.cat
KB896428.cat
KB896422.cat
KB896358.cat
KB894391.cat
KB893803.cat
KB893357.cat
KB893086.cat
KB893066.cat
KB891781.cat

Use this function with command (example) :

_ADDTXT(svcpack.inf,"[ProductCatalogsToInstall]",entries.log,0)


Func _ADDTXT($source,$string,$log,$flag)
$n = _nline($source,$string) + $flag
$dest = @TempDir & "\log.tmp"
If FileExists($dest) then FileDelete($dest)
_WriteFilePartCopy($source,$dest,1,$n)
_WriteFilePartCopy($log,$dest,1,_FileCountLines($log))
_WriteFilePartCopy($source,$dest,$n + 1,_FileCountLines($source))
FileMove($dest,$source,1)
EndFunc

Func _WriteFilePartCopy($source,$dest,$n1,$n2)
For $i = $n1 to $n2
$line = FileReadLine($source,$i)
FileOpen($dest,1)
FileWriteLine($dest,$line)
FileClose($dest)
Next
EndFunc

Func _nline($source,$string)
$x = "not line"
For $i = 1 to _FileCountLines($source)
$line = FileReadLine($source,$i)
If $line = $string Then $x = $i
Next
Return $x
EndFunc

User avatar
dgelwin
Posts: 1152
Joined: Wed Aug 10, 2005 1:33 am
Location: Tegucigalpa, Honduras

Post by dgelwin » Tue Nov 08, 2005 2:44 pm

is it your update pack or the addon that is causing the problem, if its the addon compare the hash and if the has is correct send me the entries.ini for the addon or paste the code
Don't sweat petty things....or pet sweaty things

User avatar
vier
Posts: 531
Joined: Tue Nov 08, 2005 11:24 am

Post by vier » Tue Nov 08, 2005 2:51 pm

The problem is not the file, I test with different file wich modify svcpack.inf

I create code with auto-it for modify the scvpack.inf and I have the same problem for integrate my own pack. I stop my soft, for create a RyanVM compatible pack with your integrator.

I'm sure the problem is auto-it script. Please test my proposition or if you want send me a part of code to modify the svcpack.inf and I test with my code modification and send you the correct code if I found the solution.

User avatar
vier
Posts: 531
Joined: Tue Nov 08, 2005 11:24 am

Post by vier » Tue Nov 08, 2005 2:54 pm

If you want test my pack (french) : http://createurxp.win-web.be/download/C ... k1.0.0.cab

User avatar
vier
Posts: 531
Joined: Tue Nov 08, 2005 11:24 am

Post by vier » Tue Nov 08, 2005 2:55 pm

The update pack add-on is the add-on of this site.

User avatar
dgelwin
Posts: 1152
Joined: Wed Aug 10, 2005 1:33 am
Location: Tegucigalpa, Honduras

Post by dgelwin » Tue Nov 08, 2005 3:16 pm

i just tested and update addon that i made out of yout entries.ini code you pasted above and everything was written the way it was suppose to be suscesfully to svcpack.inf
here is my changed svcpack as proof.

Code: Select all

[Version]
BuildNumber=2600
MinorVersion=1
MajorVersion=5
Signature="$WINDOWS NT$"

[SetupData]
CatalogSubDir="\I386\svcpack"

[ProductCatalogsToInstall]
KB319740.cat
KB873339.cat
KB885826.cat
KB885835.cat
KB885836.cat
KB885894.cat
KB886185.cat
KB886677.cat
KB886716.cat
KB887472.cat
KB887606.cat
KB887742.cat
KB887797.cat
KB888113.cat
KB888302.cat
KB890046.cat
KB890831.cat
KB890859.cat
KB891781.cat
KB893066.cat
KB893756.cat
KB893803.cat
KB896358.cat
KB896422.cat
KB896423.cat
KB896428.cat
KB896626.cat
KB896688.cat
KB897663.cat
KB898461.cat
KB899587.cat
KB899589.cat
KB899591.cat
KB900725.cat
KB900930.cat
KB901017.cat
KB901214.cat
KB902400.cat
KB904412.cat
KB904706.cat
KB905414.cat
KB905749.cat
KB906569.cat
KB907865.cat
KB319740.cat
KB842520.cat
KB870981.cat
KB873339.cat
KB883523.cat
KB884538.cat
KB884575.cat
KB884868.cat
KB884883.cat
KB885626.cat
KB885835.cat
KB885836.cat
KB885894.cat
KB886677.cat
KB886716.cat
KB887170.cat
KB887173.cat
KB887472.cat
KB887606.cat
KB887742.cat
KB887797.cat
KB888111.cat
KB888113.cat
KB888302.cat
KB888321.cat
KB888795.cat
KB889016.cat
KB889315.cat
KB889527.cat
KB889673.cat
KB890046.cat
KB890463.cat
KB890644.cat
KB890733.cat
KB890831.cat
KB890859.cat
KB890927.cat
KB891593.cat
KB891781.cat
KB892233.cat
KB892489.cat
KB892559.cat
KB893008.cat
KB893476.cat
KB893756.cat
KB893803.cat
KB895961.cat
KB896256.cat
KB896269.cat
KB896344.cat
KB896358.cat
KB896360.cat
KB896422.cat
KB896423.cat
KB896428.cat
KB896626.cat
KB896688.cat
KB896984.cat
KB897574.cat
KB897663.cat
KB898108.cat
KB899337.cat
KB899418.cat
KB899510.cat
KB899527.cat
KB899587.cat
KB899589.cat
KB899591.cat
KB900387.cat
KB900725.cat
KB900930.cat
KB901017.cat
KB901026.cat
KB901122.cat
KB901214.cat
KB902149.cat
KB902400.cat
KB902841.cat
KB903234.cat
KB904412.cat
KB904706.cat
KB905414.cat
KB905519.cat
KB905749.cat
KB905816.cat
KB906472.cat
KB906569.cat
KB906688.cat
KB907865.cat
MSXML3SP7.cat
scripten.cat

[SetupHotfixesToRun]
Don't sweat petty things....or pet sweaty things

User avatar
dgelwin
Posts: 1152
Joined: Wed Aug 10, 2005 1:33 am
Location: Tegucigalpa, Honduras

Post by dgelwin » Tue Nov 08, 2005 3:17 pm

ive found that whenever creating an addon its best to first create a blank addon with only the entires.ini file inside then check to see if the integrator is adding all the entries correctly, this is what i did with the code you pasted above for your entries.ini
Don't sweat petty things....or pet sweaty things

User avatar
vier
Posts: 531
Joined: Tue Nov 08, 2005 11:24 am

Post by vier » Tue Nov 08, 2005 3:59 pm

I create a new pack with new update (KB896424) and add a svcpack.inf blanck file.

I integrate the pack on a blanck XP SP2 and the svcpack.inf is corrupt.

?????

I don't integrate any add-on.

I test this : I have a correct svcpack.inf file and test the add-on integration svcpack : it's correct. My problem come with update pack integration on a blanck Xp SP2.

User avatar
dgelwin
Posts: 1152
Joined: Wed Aug 10, 2005 1:33 am
Location: Tegucigalpa, Honduras

Post by dgelwin » Tue Nov 08, 2005 4:42 pm

oh on a blank copy, jum i didnt try integrating on a blank copy il try that now and get right back to you.
Don't sweat petty things....or pet sweaty things

User avatar
vier
Posts: 531
Joined: Tue Nov 08, 2005 11:24 am

Post by vier » Tue Nov 08, 2005 4:49 pm

I found the bug :

If [ProductCatalogsToInstall] section in svcpack.inf is blanck.
The integrator not add cat.

If I put for example just KB, for not blanck under [ProductCatalogsToInstall]. The integrator add cat.

User avatar
dgelwin
Posts: 1152
Joined: Wed Aug 10, 2005 1:33 am
Location: Tegucigalpa, Honduras

Post by dgelwin » Tue Nov 08, 2005 5:39 pm

pm siginet and report it to him so he can fix it in next release :D good job
Don't sweat petty things....or pet sweaty things

User avatar
Paul_365
Posts: 221
Joined: Wed Aug 03, 2005 6:38 am

Post by Paul_365 » Tue Nov 08, 2005 8:07 pm

I have just looked at the code that deals with this and your nearly right.

If [ProductCatalogsToInstall] is the last line in svcpack.inf or if there is no space between [ProductCatalogsToInstall] and the next section then the new cats wont be added.

If [ProductCatalogsToInstall] is just a blank section with 1 blank line following it or with other catalog entries following it then it will get the cats.

If intergration is performed on a vannila sp2 then the above problems will not be found.

User avatar
Siginet
Site Admin
Posts: 2894
Joined: Fri May 27, 2005 1:07 pm
Location: Planet Earth
Contact:

Post by Siginet » Tue Nov 08, 2005 9:23 pm

Thanks for reporting the bug vier! Paul is gonna fix it and I will release v1.0.3 tommorrow. ;)
Image
--Siginet--

Techware
Your Virtual Technician
Computer Management Software

User avatar
vier
Posts: 531
Joined: Tue Nov 08, 2005 11:24 am

Post by vier » Wed Nov 09, 2005 10:10 am

Ok, good job.

Locked