MSFN Forum: Your Help needing in making automatic software installation - MSFN Forum

Jump to content



  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Your Help needing in making automatic software installation Rate Topic: -----

#1 User is offline   kamran 

  • Newbie
  • Group: Members
  • Posts: 23
  • Joined: 04-February 06

  Posted 04 February 2006 - 05:40 PM

hey i m new to this site i have understand the begginers section and a bit advanced section i have successfuly created a boot disk of windows xp with latest hotfix and sp2 integrated now i want to ask you that can you tell me who can i create this disc to install my favorite softwares automatically i will give you a list of them bellow i can' t understand who to make runonceex.cmd or what to make first etc its confusing me my friend has made a disk which is working good by reading the site but he is a miser and cant tell me how to do. so please help me can tell me who can i do my work with Windows XP Post Install Wizard this software my friend has made it whith this.

i want to install these softwares while windows installs.
office 2003 full all above and office in my drive d while windows is on c drive
winamp 5.12
realplayer
adobe acrobat 7.5
msn 7.5
download accelerator
winrar

thanks


#2 User is offline   PROPHET 

  • Group: Members
  • Posts: 8
  • Joined: 01-May 05

Posted 04 February 2006 - 06:02 PM

There are alot of progs & stuff out there but for easyness i use Windows Post Installer or WPI as its known as you can put all your applications files in there and have a runonce cmd added to the WINNT.SIF file so it does that just after installing windows..that allows you to pick and choose install properties be it what drive special folders and so on

#3 User is offline   jonathan_314 

  • Junior
  • Pip
  • Group: Members
  • Posts: 63
  • Joined: 31-October 05

  Posted 05 February 2006 - 08:05 AM

Hehe, I know this is a diffucult part when you are new to it. For me it was the same, the next step seemed to be so high. I took the same way like you. So make a next move. I suggest, you try the runonceex.cmd method.
And try it with only one prog. To give you an easy prog try perhaps winamp.

So what do you need that is a file runonceex.cmd. How to make it, well look here http://unattended.msfn.org/ it is in fact a txt file saved as *.cmd a cmd file is a small application.

I will give an example what you must put in this runoneceex-file

@Echo Off
cmdow @ /HID


FOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\win51ip.SP2 SET CDROM=%%i:

SET PP=%cdrom%\Apps\

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Installatie van Programma's" /f

REG ADD %KEY%\005 /VE /D "Winamp 5.12" /f
REG ADD %KEY%\005 /V 1 /D "%PP%winamp512\winamp512.msi Xfull=1 /qn" /f
EXIT


how it works?
Well it is explained once again here http://unattended.msfn.org/

REG ADD %KEY% /V TITLE /D "Installatie van Programma's" /f :This is the title which you will see while installing

REG ADD %KEY%\005 /VE /D "Winamp 5.12" /f this is the title of the program you wil see while installing

REG ADD %KEY%\005 /V 1 /D "%PP%winamp512\winamp512.msi Xfull=1 /qn" /f this is the path and the switch of the app you want to install

What is the path in this case??
Simple: you see this in the file: SET PP=%cdrom%\Apps\
so your path wil be %cdrom%\Apps\

so afther the %pp% don't put an extra "\" coz this "\" is allready there.
So on your windows cd make a folder called "apps"
In this case the apps will be installed from the cd


How will you start the runonceex.cmd file?
Make a file caled cmdlines.txt in your $oem$ folder (if this folder doesn't exists, then make it. I must be right under the driver letter, so it is not a subfolder)
In this cmdlines.txt you put this lines

[Commands]
"RunOnceEx.cmd"


Where do you put the runonceex.cmd file??
also in the $oem$ folder.

How do I find the switch for winamp?
Search this forum for the winamp switch. You cant use your own downloaded winamp.
Sometimes you must modify an app to let it work with switches. How to do that? Well look in the forum, many have made small tutorials for each app.

How can I add extra lines to the runonceex?
Easy put to extra lines in the file one with the title and one with the switch. Don't forget to increase the number I have put in red.

REG ADD %KEY%\010 /VE /D "Daemon Tools 3.47" /f
REG ADD %KEY%\010 /V 1 /D "%PP%daemon\DAEMONTools347.msi /qn /Reboot=Suppress" /f

The /f is not a switch but it is part of the runonceex program. so the app and the switch are always between ""
Don't use spaces in your file names, that will make it more complex for you.

Voila, I hope this is clear to you. If there is smth else let me know. Then I will help you further.

Kind regards,
Jonathan.

#4 User is offline   kamran 

  • Newbie
  • Group: Members
  • Posts: 23
  • Joined: 04-February 06

Posted 07 February 2006 - 12:49 PM

Thanks alot for your reply :D , God bless you, are doing a great work by sharing knowldge, dear friend i have done alot of practice on these command and programs till today and i m very happy that i have learn some of them and hope that i will be making my own windows unattended cd soon.

today i have a new question to ask that can you tell me is that possible to make a multi disc setup cd like i want to have only one cd which just contains windows xp setup files and another 1 or 2 cd in which i will put my favorite softwares to be installed later by runonceex.cmd or wpi and here i have another question which i want to ask is that who can i avoide the windows setup not to copy all the softwares which were in the cd disk to my hard drive and after completion of windows setup is this possible to make such type of command or file that help me to ask the user to insert the cd 2 or application cd in the cd rom while installing the softwares, i hope you understand what i want to say.

thanks. :thumbup

#5 User is offline   jonathan_314 

  • Junior
  • Pip
  • Group: Members
  • Posts: 63
  • Joined: 31-October 05

  Posted 07 February 2006 - 01:34 PM

Hi,

Thank you for the blessing part :) .
I will try to answer all your questions.

1) how to avoid copying to the harddisk?

The answer was allready in my previous help. Look to this code:
FOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\win51ip.SP2 SET CDROM=%%i:

SET PP=%cdrom%\Apps\


The code searches for every drive letter (D, E, F, ...) if the file "win51ip.SP2" is there. If you integrated SP2 for windowsXP to your cd, then this file is on the cd. The file is only on the CD and nowhere else. So the CDROM receives the letter of your cdrom drive (CDROM=%%i).
Afther that It pass the variable to PP with this: "SET PP=%cdrom%\Apps\" So all your apps must be for instance in D:\Apps. So in this case %cdrom% = D:
So %PP%winamp512\winamp512.msi is in my case D:\apps\winamp512\winamp512.msi
The app can look for its own drive letter so the apps won't copy to the harddisk to install from cd.

2) can I have multiple cd's?

Yup you can use a tool that makes the switch between 2 or more cd's. It is called a cd switching utility. A guy from Belgium made his tool an he has put it on the forum. look in this toppic.

http://www.msfn.org/...showtopic=41821

I didn't use it yet so you have to find out on your own. But it is made to switch between multiple dvd's or cd's.

Note: I hope you understood what I am saying. If not, ask me. Sory if my answer is like for a child of 5 years age. I don't know on what level you are yet. But in my life, I prefer an answer that is too simple but that I can understand. And that doesn't mean that I think you are a child. ;)

Kind regards :hello:
Jonathan

This post has been edited by jonathan_314: 07 February 2006 - 01:39 PM


#6 User is offline   kamran 

  • Newbie
  • Group: Members
  • Posts: 23
  • Joined: 04-February 06

  Posted 07 February 2006 - 02:30 PM

once again thanks i understand your tips i have download this cd switching utilty but it is not running on my pc when i run it does not do anything i want to do this that when the installation of windows finishes and when the runonceex.cmd is run i want here to set a message that says insert disk 2 and press ok when i insert disk to and ok presses, the wpi utility runs and install the desire. can you tell me how to do. i dont mind if you say me a kid its honour for me that my teacher says me kid you are my teacher and friend too. i am going to mad about this to learn this thing and make my own windows xp unattended cd.

thanks
take care. :D :thumbup

#7 User is offline   jonathan_314 

  • Junior
  • Pip
  • Group: Members
  • Posts: 63
  • Joined: 31-October 05

Posted 07 February 2006 - 02:35 PM

Hehe, Thanks,

But euhm I don't understand what you really want :D. Is it smth afther the runonceex? Or may it be while the runonceex. I will look once to the tool.

;)

#8 User is offline   kamran 

  • Newbie
  • Group: Members
  • Posts: 23
  • Joined: 04-February 06

Posted 07 February 2006 - 02:35 PM

ok ok i have check this one you told me cdswitch utility it works i will try it when checking my cd after making image file. thanks alot for your help. know i think i m ready to make my cd and write all cmds and other. take care thanks alot you are a great person i have ever meet.

#9 User is offline   jonathan_314 

  • Junior
  • Pip
  • Group: Members
  • Posts: 63
  • Joined: 31-October 05

  Posted 07 February 2006 - 02:57 PM

Iepz, well some small hints,

to call the utitlity with the code :
cdswitch LABEL D:
you must put the tool in the folder: \$OEM$\$$\system32 on your cd.
But you can call it from anywhere, but you must be sure that your path is right.
Example
%CDROM%\cdswitch\cdswitch.exe LABEL D:
.

You want to split your cd in two parts so you could put this command on the begining of your runonceex.cmd afther this line it will ask the second cd. Afther the line you put all the other switches.

I guess that
cdswitch LABEL %CDROM%
will work too.

You can test your runonceex.cmd in a virtual machine (how to set it up look in the guide @ http://unattended.msfn.org/)
You can start runonceex.cmd by double clicking on your runonceex.cmd and then run this also:
rundll32.exe iernonce.dll,RunOnceExProcess

you can find the run tool in the startpannel of windows. (but I guess you know that allready)
The method is fast coz else you will write 100 cd's :)

There is also a help file that comes with the cd-switch utility (in it's toppic).

Perhaps I told many things you know allready, hehe anyway you have work to do :whistle:
Greetz.
Jonathan.

This post has been edited by jonathan_314: 07 February 2006 - 02:59 PM


#10 User is offline   kamran 

  • Newbie
  • Group: Members
  • Posts: 23
  • Joined: 04-February 06

  Posted 07 February 2006 - 03:04 PM

:thumbup yeeh you are great super great. i will pray for you that God make you a rich person in all ascpect of life. you are a great teacher. i have try what you have tell me in this post and it works thanks alot :thumbup :) :D

#11 User is offline   jonathan_314 

  • Junior
  • Pip
  • Group: Members
  • Posts: 63
  • Joined: 31-October 05

  Posted 07 February 2006 - 03:14 PM

Funny,

I like the praying part of your message. I will pray for you too.
I will send you a private message about that. So look here in the menu bars above on the right, you will find somthing like "0 new messages" in some minutes it will be 1 new message.

Or click above "My controls" then inbox. (I tell you that because I want that you really find my message, and am not sure if you are familiar with forums)

Greetz.

Edit: the message is now in you private mailbox on this forum. :D

This post has been edited by jonathan_314: 07 February 2006 - 03:31 PM


#12 User is offline   kamran 

  • Newbie
  • Group: Members
  • Posts: 23
  • Joined: 04-February 06

Posted 09 February 2006 - 09:11 AM

i am trying to implement my own make billboard background and images in the winntbbu.dll but every time i test it i got error while file copy progress of dos mode which is shown in picture if i skip this file the setup continue but i want to make this problem correct who do i make this file correct i have used resedit but got this error today i have tried winntbbuED which is on someone post in this board

Attached File(s)

  • Attached File  error.GIF (19.29K)
    Number of downloads: 75


#13 User is offline   jonathan_314 

  • Junior
  • Pip
  • Group: Members
  • Posts: 63
  • Joined: 31-October 05

  Posted 10 February 2006 - 09:18 AM

Iepz,

In the way you are doing it it wil never work. I never used this kind of stuff but I know one thing. when you look at alle the files on your cd the most are like this. SHELL32.DL_ the last is gone and is replaced by an underscore. If you will compare the size of the SHELL32.DL_ on your windows CD and the same SHELL32.DLL on your pc. then you will notice that the shell32.DL_ on the cd is much smaller. So what did they do? Well I guess those *.DL_ files are packed and compressed. So if you put an unpacked file on your cd. The installation will notice that. Perhaps the instalation will try to unpack the file. but since the file it isn't packed in the first place the instalation on this file will fail.
So you need to find a way to pack it.
The things you read above is just a storry about how I interprete things. I don't know if it is right, but I have read some stuff about this on the forum and that makes me 90% sure. As an Engineer I am trained to guess. (and to make right guesses)

To pack it: I heard this. It was to change Icons. There are Icon packs you can install in windows. Then the most icons are replaced in the shell32.dll file. So they have to install this pack in windows. Then grab the file and then aply modifype & makecab on it!!! and replace these both files with older one in your unattended windows cd's I386 Directory!!

So I think your problem is the same. So you must find the tool which can aply modifype & makecab on it. So look once on the formum for those tools or perhaps commands.

Those thing above are just hints for you to move on :P
Greetz
Jonathan.

#14 User is offline   kamran 

  • Newbie
  • Group: Members
  • Posts: 23
  • Joined: 04-February 06

  Posted 11 February 2006 - 12:26 PM

Thanks dear friend i have read on the form for this and i have got the answer as you tell me that the file must be packed so i have packed it by modifype.exe and correct the problem and i have created my billboard here is a view for this in attachment i like simplycity in every thing so here it goes. Thanks again great man :thumbup

Attached File(s)



#15 User is offline   jonathan_314 

  • Junior
  • Pip
  • Group: Members
  • Posts: 63
  • Joined: 31-October 05

  Posted 11 February 2006 - 12:58 PM

Looks nice ;)

#16 User is offline   kamran 

  • Newbie
  • Group: Members
  • Posts: 23
  • Joined: 04-February 06

  Posted 11 February 2006 - 03:45 PM

:blink: :wacko: now i got a new problem. i have integreted updates and hotfixes from a site where all are packed in one cab file this is site http://www.ryanvm.ne...updatepack.html when i have integreted these by nlite and test my iso with virtual pc i got again file missing error cdaudio.sys in the text mode setup at 1% file copying progress do you know what is this happening. tell me i am integreting them in a sp2 winxp pro integreted my self on hdd.

take care

#17 User is offline   jonathan_314 

  • Junior
  • Pip
  • Group: Members
  • Posts: 63
  • Joined: 31-October 05

  Posted 11 February 2006 - 03:57 PM

No, I don't know the sollution yet. it looks weird. I know about the Ryan stuff but I actually never used it. So I don't know what is wrong.
Sorry, I can't help you this time. :) but with many testing you will find out what is giving you this problem. It will take some time. So perhaps you can test it without all the software on it. I take all the service packs and integrate them with nlite.

Greetz. :D and Happy searching ;)

#18 User is offline   kamran 

  • Newbie
  • Group: Members
  • Posts: 23
  • Joined: 04-February 06

  Posted 11 February 2006 - 04:41 PM

Thanks dear friend i will try your suggestion too, but now i am downloading a servicepack3 build from softpedia website for winxp sp2 after downloading it i will first try to integreat its packs in win and if the problem pre exist i will try integreating one by one service packs can you tell me how can i integrate windows genuine advantage validation tool in windows cd i have tried a lot to get the update file to integrate with xp cd but cant find it yet.
:)

#19 User is offline   kamran 

  • Newbie
  • Group: Members
  • Posts: 23
  • Joined: 04-February 06

  Posted 15 February 2006 - 02:15 AM

hi once again i have come to disturbe you i have tested my first windows xp sp2 integreted unattedned cd in virtual pc its working as i want it to be not i have one problem for which i want your guide line. when windows installation the screen apears to setup windows users accounts and setting etc registeration i want to ask you that how can i hide some user options in this startup like shown in windows i want that windows auyomaticaly select the help protect my pc by turning on automatic updates by default and hide this screen and how do i hide register your windows screen and network setup screen i want windows to ask for user creation windows for user to creat user accounts manualy i dont want to integrate user account auto creation may be you understand what i want to ask.

thanks

Attached File(s)



#20 User is offline   jonathan_314 

  • Junior
  • Pip
  • Group: Members
  • Posts: 63
  • Joined: 31-October 05

Posted 15 February 2006 - 01:54 PM

To be honnest, I can't answer your questions. I don't know the answer yet. I am looking for them too. :(
by the way, did you found the answer on the missing files problem? I have it too now. I am missing many files now. I don't know, but I found many solutions, but none help.

Greetz, jonathan.

Share this topic:


  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy