[Release] RVM_PackInstaller.exe

Questions about Update Pack making? Ask here.
User avatar
Siginet
Site Admin
Posts: 2894
Joined: Fri May 27, 2005 1:07 pm
Location: Planet Earth
Contact:

[Release] RVM_PackInstaller.exe

Post by Siginet » Mon May 30, 2005 3:58 pm

Ok... here is a little tool I made to simplify the install of RyanVM's Update Pack.

So far this will be Beta v0.6.

Image

It will extract the .cab file over your I386 files then edit dosnet.inf and txtsetup.sif with the needed entries. Then it will start a modified unattended "__integrate.exe" which will be hidden. You will see a marque ProgressBar instead.

2 or 3 log files will be created in a "LOGS" directory where you run the program from. (If you want to make sure the script hasn't locked up you can allways look to see if a log file is still being written to or not.)
The 3 log files are:
RVM_UpdateCAB.LOG = Shows the .cab file extraction process.
RVM_Integrate.LOG = Shows the Update Pack integration process. (This will take quite some time.)
RVM_AddonCAB.LOG = Shows an addon .cab file's extraction process. (This log is only created when adding an addon .cab.)

For unattended purposes I have added 3 Parameters.
Parameter 1 = The path to the destination.used.
Parameter 2 = The path to the .cab file being used.
Parameter 3 = The path to an addon .cab to use. (Optional)

Example:
RVM_PackInstaller_Beta_v06.exe "D:\MyDisk\ROOT\XPPC" "D:\RVM\RVMUpdatePack1.2.2Full.cab" "D:\RVM\122to122a-full.cab"


Please let me know how well it works for you.

Beta v0.6 (500KB) (Asks for cab file(s) and accepts Parameters)
http://www.sig-inet.com/download/beta/R ... ta_v06.zip
Changes to Beta v0.6:
Added a gui window (Based on Screenshot posted by RyanVM)

Fixed __integrate.exe from deleteing needed files.

Changed the Parameters... now there are 3 Parameters (Order of parameters changed as well):
Parameter 1 = The path to the destination.used.
Parameter 2 = The path to the .cab file being used.
Parameter 3 = The path to an addon .cab to use. (Optional)

Example:
RVM_PackInstaller_Beta_v06.exe "D:\MyDisk\ROOT\XPPC" "D:\RVM\RVMUpdatePack1.2.2Full.cab" "D:\RVM\122to122a-full.cab"

2 or 3 log files will be created in a "LOGS" directory where you run the program from. (If you want to make sure the script hasn't locked up you can allways look to see if a log file is still being written to or not.)
The 3 log files are:
RVM_UpdateCAB.LOG = Shows the .cab file extraction process.
RVM_Integrate.LOG = Shows the Update Pack integration process. (This will take quite some time.)
RVM_AddonCAB.LOG = Shows an addon .cab file's extraction process. (This log is only created when adding an addon .cab.)


Changes to Beta v0.5:
Fixed huge parsing error pointed out by UnO. (Thanks Again UnO)
===============================================

Changes to Beta v0.4:
Fixed Expand bug (Huge bug pointed out by UnO.) Thanks UnO!
Instead of using Expand we are now using cabarc.exe.

Resets Read Only Attributes to Normal.

Added MsgBox at the end of process to let you know everything was successfull.
I made the MsgBox close by itself after 10 seconds for unattended purposes.

Now there are 2 log files created in a "LOGS" folder which is created in the same directory the script is run.
The log files are:
RVM_CAB.LOG = This log file shows you what files are extracted from the .cab file.
RVM_integrate.LOG = This log file shows you the steps of __integrate.exe that have been completed.
===============================================

Changes to Beta v0.3:
First of all I did not integrate the files in this one so the file size is very small. (As requested)

It will ask for the .cab file. Then ask for the destination.

For unattended purposes I have added 2 Parameters.
Parameter 1 = The path to the .cab file being used.
Parameter 2 = The path to the destination.

Example:
RVM_PackInstaller_Beta_v03.exe "D:\RVMUpdatePack1.2.2Full.cab" "D:\MyDisk\ROOT\XPPC"
P.S. Please backup your files before using this. It is in beta right now.
Also if the update pack has allready been installed previously this should exit without doing anything.

Enjoy! :D

Originally Posted by RyanVM:
OK, as promised, here is the mini-update. It weighs in at about 860K and includes the updated msi.dll and reverts twext.dll back to the version from 1.2.1. Just extract the RAR to i386 after installing the update pack like normal.
http://www.ryanvm.net/msfn/122to122a-full.rar
http://www.ryanvm.net/msfn/122to122a-full-nowmp.rar
http://www.ryanvm.net/msfn/122to122a-medium.rar
http://www.ryanvm.net/msfn/122to122a-medium-nowmp.rar
http://www.ryanvm.net/msfn/122to122a-lite.rar
http://www.ryanvm.net/msfn/122to122a-lite-nowmp.rar

Let me know if you encounter any issues after using this.
Last edited by Siginet on Wed Jun 08, 2005 4:57 am, edited 24 times in total.
Image
--Siginet--

Techware
Your Virtual Technician
Computer Management Software

Acheron
Posts: 389
Joined: Thu Nov 25, 2004 4:05 pm
Location: The Netherlands
Contact:

Post by Acheron » Mon May 30, 2005 5:05 pm

Are you gonna release source code?

Xable
Posts: 981
Joined: Tue May 03, 2005 6:38 pm
Contact:

Post by Xable » Mon May 30, 2005 7:11 pm

After selecting the pack and dir that I386 is in it gives the error Link
The entries are added to DOSNET.INF and TXTSETUP.SIF but the pack is not extracted therefore it can`t find integrate.exe
I`m using lite pack with xpsp2

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

Post by Siginet » Mon May 30, 2005 9:12 pm

I'll look into that.

This beta was thrown together quickly so I wouldn't doubt if I missed something.

Also... I never tested it on the lite pack. Try to use the Full pack and let me know if you get the same error message.

I am going to go have a barbecue now... so I will probably be working on it more tommorrow. ;)
Last edited by Siginet on Mon May 30, 2005 9:15 pm, edited 1 time in total.
Image
--Siginet--

Techware
Your Virtual Technician
Computer Management Software

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

Post by Siginet » Mon May 30, 2005 9:13 pm

hp38guser wrote:Are you gonna release source code?
I have not decided that yet. But I may.
Image
--Siginet--

Techware
Your Virtual Technician
Computer Management Software

Xable
Posts: 981
Joined: Tue May 03, 2005 6:38 pm
Contact:

Post by Xable » Tue May 31, 2005 4:33 pm

same thing happens with full pack, but like you say it`s probably just a small thing you overlooked.

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

Post by Siginet » Wed Jun 01, 2005 11:35 am

I am getting buisy at the moment... but I will work on it more in a little while. Sorry for the delay.

Ryan also has given me the __integrate.exe code so that I can try to translate the code into Autoit so it is gonna take a little longer than expected.
Image
--Siginet--

Techware
Your Virtual Technician
Computer Management Software

User avatar
orcoxp
Posts: 532
Joined: Sun Apr 17, 2005 2:05 pm
Location: Ontario, Canada

Post by orcoxp » Thu Jun 02, 2005 12:27 am

UnO wrote:After selecting the pack and dir that I386 is in it gives the error Link
The entries are added to DOSNET.INF and TXTSETUP.SIF but the pack is not extracted therefore it can`t find integrate.exe
I`m using lite pack with xpsp2
@UNO
I have not tried this yet but try it without spaces in the path.

@Siginet
If this works for him, Maybe "quote the path" that way people are not affected by this limitation?

Forgive me I really don't know much about coding at all unless I have had a chance to rip something apart, but this sounds like logic to me...lol

:D
Chris Thomson
AKA OrcoXP

PHP/MySQL/phpMyAdmin 2 & 3 successfully running simultaneously on XP SP3 IIS.

Xable
Posts: 981
Joined: Tue May 03, 2005 6:38 pm
Contact:

Post by Xable » Thu Jun 02, 2005 10:01 am

@UNO
I have not tried this yet but try it without spaces in the path.
ye sometimes that can be the problem but actualy my paths didn`t have spaces to begin with, everything is on the root and the install files are in a folder named xp.
Btw i`m not waiting for this just thought i`d test to help out. :wink:

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

Post by Siginet » Thu Jun 02, 2005 12:52 pm

Thanks for testing UnO. ;)

I have completely rewrote the code and actually now everything is compiled into one .exe file.

Now all that it will ask is the destination. Then it will begin installing. It will extract the needed files from within itself... then it will edit dosnet.inf and txtsetup.sif. Next it will begin the __integrate.exe with a marque progress bar... and it will write a log file to the same directory that you have the .exe file. I have tested it in multiple ways on my computer... but I have not tested it elsewhere. So I leave the testing to you all. It should work fine... but we'll see. ;)

So far I've only made a "Full" pack... but I plan on createing the other packs as well. All I have to do is compile them with the files from the Liter packs. I should have released it initially with a Lite Pack... but... I allready made the full one.

http://www.sig-inet.com/download/beta/R ... ta_v02.zip

P.S.
If anyone can make a mirror of this download for me it would be great... cause the upload speed from this server is not the fastest if I remember correctly.
Image
--Siginet--

Techware
Your Virtual Technician
Computer Management Software

User avatar
RyanVM
Site Admin
Posts: 5189
Joined: Tue Nov 23, 2004 6:03 pm
Location: Pennsylvania
Contact:

Post by RyanVM » Thu Jun 02, 2005 1:49 pm

I'll put up a mirror of it when I get home from work
Get up to $200 off on hosting from the same people who host this website!
http://www.ryanvm.net/forum/viewtopic.php?t=2357

Rudi1
Posts: 232
Joined: Sun Mar 06, 2005 2:49 am

Post by Rudi1 » Thu Jun 02, 2005 2:11 pm

I like to ask if is any litle programm,just to add text on files and then run integrade exe? :oops:

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

Post by Siginet » Thu Jun 02, 2005 11:47 pm

Rudi1 wrote:I like to ask if is any litle programm,just to add text on files and then run integrade exe? :oops:
Not quite sure I understand the question. But this is a simple installation package for the Upgrade Pack. It makes it so there is no need to manually install it. It edits the files with the needed text in the exact location of the files where it is needed. It may sound simple... but it isn't as simple as it sounds. ;)

BTW
@ALL This pack has the fix integrated as well. ;)
Image
--Siginet--

Techware
Your Virtual Technician
Computer Management Software

User avatar
RyanVM
Site Admin
Posts: 5189
Joined: Tue Nov 23, 2004 6:03 pm
Location: Pennsylvania
Contact:

Post by RyanVM » Fri Jun 03, 2005 12:14 am

Can you make a version which doesn't have the entire pack integrated into it? 46MB is a just a tad hefty.
Get up to $200 off on hosting from the same people who host this website!
http://www.ryanvm.net/forum/viewtopic.php?t=2357

User avatar
n7Epsilon
Moderator
Posts: 624
Joined: Thu Feb 17, 2005 1:37 am
Location: Cairo, Egypt

Post by n7Epsilon » Fri Jun 03, 2005 2:31 am

Yeah,
Think of use (poor souls) on dial-up, who already spent 2.5+ hours to download the original RyanVM Full pack (42MB) CAB file from the site...


BTW, can you modify the program to accept command line parameters to be used (for example) in a batch script... ??


- That would be create, since I created a batch script that copies my XP CD files to a location, automatically slipstreams SP2, extracts RyanVM's pack and opens notepad to edit the DOSnET.INF and TXTSETUP.SIF files, then use Gnome's slipstremer (WMP10) and finally remove useless files....

---> So basically your program will make EVERYTHING automated which would be great...

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

Post by Siginet » Fri Jun 03, 2005 3:17 am

RyanVM wrote:Can you make a version which doesn't have the entire pack integrated into it? 46MB is a just a tad hefty.
Yes I will. and I will also give the source code to you and you will easily be able to edit it to add your files to it. ;)

Sorry about only doing the Full pack initially... I wasn't thinking. :rolleyes:

I was testing with the full pack... and I never tested with the others.
Image
--Siginet--

Techware
Your Virtual Technician
Computer Management Software

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

Post by Siginet » Fri Jun 03, 2005 3:20 am

n7Epsilon wrote:Yeah,
Think of use (poor souls) on dial-up, who already spent 2.5+ hours to download the original RyanVM Full pack (42MB) CAB file from the site...


BTW, can you modify the program to accept command line parameters to be used (for example) in a batch script... ??


- That would be create, since I created a batch script that copies my XP CD files to a location, automatically slipstreams SP2, extracts RyanVM's pack and opens notepad to edit the DOSnET.INF and TXTSETUP.SIF files, then use Gnome's slipstremer (WMP10) and finally remove useless files....

---> So basically your program will make EVERYTHING automated which would be great...
I had actually allready planned to do that in probably the next release. :) Because I do the same sort of thing.

So I take it this release is working fine for everyone so far?
I will put together the other packs and try to post them here tommorrow.

Any other suggestions?
Image
--Siginet--

Techware
Your Virtual Technician
Computer Management Software

Rudi1
Posts: 232
Joined: Sun Mar 06, 2005 2:49 am

Post by Rudi1 » Fri Jun 03, 2005 8:42 am

Can you make a version which doesn't have the entire pack integrated into it? 46MB is a just a tad hefty.
Thank you Siginet for your answer,I just mean like Ryan without integrated entire pack,this version will be great! :wink:

Xable
Posts: 981
Joined: Tue May 03, 2005 6:38 pm
Contact:

Post by Xable » Fri Jun 03, 2005 10:32 am

working fine here Siginet :)

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

Post by Siginet » Fri Jun 03, 2005 12:02 pm

:)
Image
--Siginet--

Techware
Your Virtual Technician
Computer Management Software

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

Post by Siginet » Fri Jun 03, 2005 2:06 pm

RVM Update Packer Beta v0.3 Released.

I have updated my first post in this thread with the download link and further information.

Only downside to this release is Ryans Tiny Fix is not integrated. You need to add the fix manually. In Beta v0.2 I had everything integrated... so the fix was integrated as well.
Changes to Beta v0.3:
First of all I did not integrate the files in this one so the file size is very small. (As requested)

It will ask for the .cab file. Then ask for the destination.

For unattended purposes I have added 2 Parameters.
Parameter 1 = The path to the .cab file being used.
Parameter 2 = The path to the destination.

Example:
RVM_PackInstaller_Beta_v03.exe "D:\RVMUpdatePack1.2.2Full.cab" "D:\MyDisk\ROOT\XPPC"
Image
--Siginet--

Techware
Your Virtual Technician
Computer Management Software

User avatar
n7Epsilon
Moderator
Posts: 624
Joined: Thu Feb 17, 2005 1:37 am
Location: Cairo, Egypt

Post by n7Epsilon » Fri Jun 03, 2005 4:20 pm

One small question...

What fix ??? How do I integrate that (or add it) ??

User avatar
RyanVM
Site Admin
Posts: 5189
Joined: Tue Nov 23, 2004 6:03 pm
Location: Pennsylvania
Contact:

Post by RyanVM » Fri Jun 03, 2005 5:09 pm

I'll probably be putting a beta release of the next full version in the members only section soon. I'm getting a bit ambitious with what I want to do in the next release, so the result is that I may have to delay my next release as a result.
Get up to $200 off on hosting from the same people who host this website!
http://www.ryanvm.net/forum/viewtopic.php?t=2357

Rudi1
Posts: 232
Joined: Sun Mar 06, 2005 2:49 am

Post by Rudi1 » Fri Jun 03, 2005 5:19 pm

I tested this beta version with Ryan full pack and work fine.Thanx Siginet,maybae you can add at the end message:files integrated succesfull,so we know that the proces is finnish(not a crash or something...)Also i hope that this progi can work with all Ryan's pack :lol:

and the second great news is from Ryan with news about update pack :P

guys,you are great and really thanx for your hard work!

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

Post by Siginet » Fri Jun 03, 2005 9:04 pm

Rudi1 wrote:I tested this beta version with Ryan full pack and work fine.Thanx Siginet,maybae you can add at the end message:files integrated succesfull,so we know that the proces is finnish(not a crash or something...)Also i hope that this progi can work with all Ryan's pack :lol:

and the second great news is from Ryan with news about update pack :P

guys,you are great and really thanx for your hard work!
I will add a MsgBox popup at the end like you requested. :)
As far as I know... it should work with any pack... unless Ryan Uses different __integrate.exe files in each pack. But I don't think he does.

@UnO Can you test Beta v0.3 and let me know if it works for you. Some of the code in v0.3 is simular to v0.1 and I remember you having issues with that version.

I am wondering if the problem you had had anything to do with the Expand command I used to extract the cab file. If you still have a problem... can you post your OS type for me? I just want to make sure the final version will work for everyone. :)
Image
--Siginet--

Techware
Your Virtual Technician
Computer Management Software

Xable
Posts: 981
Joined: Tue May 03, 2005 6:38 pm
Contact:

Post by Xable » Sat Jun 04, 2005 11:55 am

Ok signet tested Beta v0.3, i`m using XP Pro Sp2
The intergration goes smooth without errors but when i look in I386 there is no svcpack folder, and compared to a manualy integrated xp source there are 8 less files in the root of I386.
At the bottom of the log it says "0 File(s) copied" atatched bellow.
Link

This happens with Beta_02 aswell, didn`t notice it before though just presumed that it worked because it gave no errors.

Can onyone else confirm this? or is it just me.
Last edited by Xable on Sat Jun 04, 2005 2:13 pm, edited 2 times in total.

User avatar
RyanVM
Site Admin
Posts: 5189
Joined: Tue Nov 23, 2004 6:03 pm
Location: Pennsylvania
Contact:

Post by RyanVM » Sat Jun 04, 2005 12:10 pm

...it says right on my website to NOT INTEGRATE OVER A PREVIOUSLY NLITED CD.
Get up to $200 off on hosting from the same people who host this website!
http://www.ryanvm.net/forum/viewtopic.php?t=2357

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

Post by Siginet » Sat Jun 04, 2005 2:03 pm

Well... then I guess we found the problem there. Thanks for pointing that out RyanVM.
Image
--Siginet--

Techware
Your Virtual Technician
Computer Management Software

Xable
Posts: 981
Joined: Tue May 03, 2005 6:38 pm
Contact:

Post by Xable » Sat Jun 04, 2005 2:09 pm

A misunderstanding, my installed os is nLited XP Pro Sp2 and my XP source is, XP GOLD SP0 with SP2 slipstreamed.

I have enough common sense to know NOT TO INTEGRATE OVER A PREVIOUSLY NLITED CD.

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

Post by Siginet » Sat Jun 04, 2005 3:06 pm

Well... that would mean it has nothing to do with the expand command or the other... because both versions are not copying the files over. :?:

Maybe check if your files are readonly. This could be an issue. I forgot to add a command to reset attributes on the files before extracting them. I am going to add that fix in the next version whether that is the problem or not.
Image
--Siginet--

Techware
Your Virtual Technician
Computer Management Software

User avatar
orcoxp
Posts: 532
Joined: Sun Apr 17, 2005 2:05 pm
Location: Ontario, Canada

Post by orcoxp » Sat Jun 04, 2005 3:25 pm

@Siginet
Maybe if turn echo on for the file copy we can determine what the problem is
Chris Thomson
AKA OrcoXP

PHP/MySQL/phpMyAdmin 2 & 3 successfully running simultaneously on XP SP3 IIS.

Xable
Posts: 981
Joined: Tue May 03, 2005 6:38 pm
Contact:

Post by Xable » Sat Jun 04, 2005 7:51 pm

@Siginet, good thinking but still no joy i`m afraid. :x

I think orcoxp has a good idea.

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

Post by Siginet » Sat Jun 04, 2005 9:33 pm

orcoxp wrote:@Siginet
Maybe if turn echo on for the file copy we can determine what the problem is
The point where the problem is has nothing to do with __integrate.exe which is what the log file is. So the @Echo off option shouldn't make a difference there.

But I can make a log file when the files are being expanded. Maybe that will show the error.
Image
--Siginet--

Techware
Your Virtual Technician
Computer Management Software

Xable
Posts: 981
Joined: Tue May 03, 2005 6:38 pm
Contact:

Post by Xable » Sat Jun 04, 2005 10:15 pm

But I can make a log file when the files are being expanded. Maybe that will show the error.
yes some error reporting of the whole process and not just reporting what __integrate.exe does is the way to go i recon. anyway it`s 3am so goodnight. i`ll be back in the morning.

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

Post by Siginet » Sat Jun 04, 2005 10:28 pm

I found the problem. It has something to do with my syntax for the expand command.

Ryans .cab file has a bunch of files and subdirectories with files. For some reason the expand command expands all of the files into the I386 folder... but it does not put the subfolders into I386. It just puts the contents in those subfolders inside of I386.

I am going to study the correct syntax I need or find a better way to extract the cab file. :(

Does anyone know the correct syntax to expand all files and subfolders from a .cab file?
Image
--Siginet--

Techware
Your Virtual Technician
Computer Management Software

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

Post by Siginet » Sat Jun 04, 2005 11:02 pm

OK problem fixed. Instead of the expand command I am gonna use cabarc.exe.
Image
--Siginet--

Techware
Your Virtual Technician
Computer Management Software

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

Post by Siginet » Sun Jun 05, 2005 12:01 am

New version released. Check top post for info.

Beta v0.4

Code: Select all

Fixed:
Expand bug (Huge bug pointed out by UnO.) Thanks UnO!
Instead of using Expand we are now using cabarc.exe.
Resets Read Only Attributes to Normal.
Added MsgBox at the end of process to let you know everything was successfull. 
I made the MsgBox close by itself after 10 seconds for unattended purposes.
Now there are 2 log files created in a "LOGS" folder which is created in the same directory the script is run. The log files are:
RVM_CAB.LOG = This log file shows you what files are extracted from the .cab file.
RVM_integrate.LOG = This log file shows you the steps of __integrate.exe that have been completed.
Image
--Siginet--

Techware
Your Virtual Technician
Computer Management Software

Xable
Posts: 981
Joined: Tue May 03, 2005 6:38 pm
Contact:

Post by Xable » Sun Jun 05, 2005 4:11 pm

I`m glad you tracked it down and thanxs for the cred signet, you do all the real work though i just tell you if it`s working for me or not. :lol:
Anyway files are getting copied over now and the process completes without errors but when installing setup gives the error "line 8 of the inf txtsetup.sif is invalid.
Txtsetup.sif

After that i noticed 5 Cat files don`t get copied over;
KB884723.CA_
KB885353.CA_
KB886610.CA_
KB887078.CA_
KB892313.CA_

Just a few teething problems left now i hope.

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

Post by Siginet » Sun Jun 05, 2005 4:27 pm

Wow... Those are definatly not any bugs I was expecting. Especially the txtsetup.sif bug. :?: :!: That is really weird.

I am looking into it now.

ThX UnO!
Image
--Siginet--

Techware
Your Virtual Technician
Computer Management Software

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

Post by Siginet » Sun Jun 05, 2005 5:40 pm

Holy Sh!te!

I thought I would never find the problem. :(

All it was was I put this kind of code at the top of my autoit sctript

Code: Select all

Opt ("ExpandEnvStrings", 1)
I only put that code out of habit. I never even needed that code in the first place.

But since it was in there when it was rewriting the txtsetup.sif and dosnet.inf files it was making every peice of text that was using %text%, (Environment Variables), not be written. So now that is fixed. ;)

As for the other files not copying over. I belive they are copied over as they should... but in __integrate.exe I see that RyanVM deletes them. I am going to look into it further... but it may not be a bug at all.
Image
--Siginet--

Techware
Your Virtual Technician
Computer Management Software

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

Post by Siginet » Sun Jun 05, 2005 5:50 pm

Yeah I confirmed that these files do get extracted:

KB884723.CA_
KB885353.CA_
KB886610.CA_
KB887078.CA_
KB892313.CA_

They just get deleted by __integrate.exe when they are not needed anymore.

You can double check this by looking in the log file "RVM_CAB.LOG". There you will see that it is extracting the files as it should. If you look inside the svcpack directory quick enough before __integrate.exe deletes them you will see them there.

I will post up the next version of the program in a few minutes.

Thanks again UnO! You have helped out more than you know! ;)
Image
--Siginet--

Techware
Your Virtual Technician
Computer Management Software

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

Post by Siginet » Sun Jun 05, 2005 6:10 pm

Beta v0.5 Released check top post for info. ;)
Changes to Beta v0.5:
Fixed huge parsing error pointed out by UnO. (Thanks Again UnO)
Image
--Siginet--

Techware
Your Virtual Technician
Computer Management Software

Xable
Posts: 981
Joined: Tue May 03, 2005 6:38 pm
Contact:

Post by Xable » Sun Jun 05, 2005 10:04 pm

errm ok a few thing clearer now but i`m confused about these cat files, so, they do get copied over then _integrate.exe deletes a few! but why? when they are needed and they don`t get deleted when doing a manual intergrate.

So now have you fixed it so they don`t get deleted after been copied over because with v0.5 they still do. maybe i just need some sleep :? :lol:

User avatar
RyanVM
Site Admin
Posts: 5189
Joined: Tue Nov 23, 2004 6:03 pm
Location: Pennsylvania
Contact:

Post by RyanVM » Sun Jun 05, 2005 11:40 pm

Just so you guys know, I got an old friend of mine (CS major recently graduated) to write a fully graphical replacement for __integrate.exe, which will also do all the file editing and such. So I guess you can feel free to keep working on this, but know that it'll be obsolete soon enough :P
Get up to $200 off on hosting from the same people who host this website!
http://www.ryanvm.net/forum/viewtopic.php?t=2357

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

Post by Siginet » Mon Jun 06, 2005 12:50 am

I'm not sure why they get deleted. But if you do a manual install and run the original __integrate.exe they get deleted in the end. My guess is they are needed at some point inside of the integrate process and then they are deleted when they are not needed anymore. v0.5 still deletes them because I do not want to change the way the pack is integrated. I am sure RyanVM had a reason for doing it the way he did. ;) My tool is only made to make it easy to install the pack. RyanVM would be the one who would know why those files are deleted.

@RyanVM That's ok with me. This was a project I vowed to do... so I have to finish it. ;)
It doesn't bother me. I am getting the chance to learn some new stuff. :D
Image
--Siginet--

Techware
Your Virtual Technician
Computer Management Software

Xable
Posts: 981
Joined: Tue May 03, 2005 6:38 pm
Contact:

Post by Xable » Mon Jun 06, 2005 11:03 am

This is madness.
I have manualy integrated RVMUpdatePack1.2.2Lite.cab into xpsp2 source.

Next i use RVM_PackInstaller_Beta_v05.exe to integrate RVMUpdatePack1.2.2Lite.cab into xpsp2 source.

Then i compare the 2 source folders with Comparesuite

Everytime the same results;
manual integration = cat files don`t get deleted

Auto integration = cat files do get deleted

It does not matter if i manualy integrate RVMUpdatePack1.2.2Lite.cab or use nLite to do it, those 5 cat files are never deleted. The only reason that i can see for them to be deleted is if you wanted QFECHECK to tell you those hotfixes need reinstalling. It makes no sense!

Also do you set the files back to read only after the process because they are read only?
Just so you guys know, I got an old friend of mine (CS major recently graduated) to write a fully graphical replacement for __integrate.exe, which will also do all the file editing and such. So I guess you can feel free to keep working on this, but know that it'll be obsolete soon enough Razz
@RyanVM, Nice. Do you have a beta release? I will test. :wink: Also could you be so kind and tell us if those cat`s should get deleted or not.

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

Post by Siginet » Mon Jun 06, 2005 1:18 pm

Hmmm... I was testing everything with the __integrate.exe source code hat RyanVM gave me... and at the end of the batch it does delete those files. I'll run a test with the __integrate.exe that comes with the .cab file and see if I get the results you are talking about. It may be that RyanVM has some code at the end of his batch to delete certain things due to testing purposes.
Image
--Siginet--

Techware
Your Virtual Technician
Computer Management Software

User avatar
RyanVM
Site Admin
Posts: 5189
Joined: Tue Nov 23, 2004 6:03 pm
Location: Pennsylvania
Contact:

Post by RyanVM » Mon Jun 06, 2005 1:20 pm

I know exactly why those CAT files are being deleted. The __integrate source I sent siginet has them being deleted because they're WMP9 CAT files, and WMP10 is integrated in my local test builds. One thing __integrate.exe does is cleanup the traces of older update packs during integration (to ensure that users who upgrade over earlier versions end up with the same CD as users who do a clean integration). The manual integration works fine because 1.2.2's __integrate doesn't have them being deleted yet. siginet is working with a slightly newer revision of it.

@siginet - you're going to want to remove those IF EXIST lines from the source you've got.

As for a beta, I'd let you if I had something to share. The truth is, we just discussed it yesterday for the first time, and I need to get him some more info before he can get started. So far, all he has is a UI concept I drew up in PSP one night. I'll post that when I get home from work, though, so you can at least see what I've got in mind.

Xable
Posts: 981
Joined: Tue May 03, 2005 6:38 pm
Contact:

Post by Xable » Mon Jun 06, 2005 2:33 pm

Ah, signet you hit the nail on the head there then. You do have a modified version of __integrate. Waiting for v06 ... :) nearly there :wink:

Rudi1
Posts: 232
Joined: Sun Mar 06, 2005 2:49 am

Post by Rudi1 » Mon Jun 06, 2005 3:17 pm

I wait for Siginet fixed progi to :lol:
I can manual to integrateded Ryan update pack,but this is more easy :wink:

Post Reply