Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Multiple Installations

30 Nov 2010   #1

windows 7 32 bit
 
 
Sequential Installations

Hello,
This here is an arbitrary scenario.
I am looking for some information on multiple installation or sequential installation operations.
Like when an installer has to deal with more than one application in an installation package, how does it respond.
Does it roll back the entire operation if one of those applications is faulty or just may be not compatible er just doesnt work!
I would also like to know about conflicts that arise during such installations. Whether they would happen in a series or try to clash by getting parallel.
What steps are to be taken to ensure smooth installation of such packages?
I would want my installation to go on even if one the application fails to get installed. I would want my installer to ignore that instance and carry forward to other applications waiting in the sequence.
Any info would be appreciated.
Sorry the question is vaguely framed.
Please do share your thoughts on this.
Thanks in advance.

My System SpecsSystem Spec
.

30 Nov 2010   #2

W7 Professional x64
 
 

Well, if a program is written well, it will install sequentially, not simultaneously. However, it is the tendency of coding to come to a stop if something goes wrong, as the code has been interrupted. Usually a goto feature, or something of that nature. If you are writing the coding for an installer program, you could avoid the installer coming to a close by making the call or goto function lead straight into the next installation, but make a note of the failure in a log file.
My System SpecsSystem Spec
01 Dec 2010   #3

windows 7 32 bit
 
 

Well i would like to know how can we bring about a smooth installation in such situations
what modifications are to be made to the code in order to avoid conflicts during installation and freezing or roll back?
My System SpecsSystem Spec
.


01 Dec 2010   #4

W7 Professional x64
 
 

With my programming experience, I think it would be best to write several separate installers. One program (say, setup.exe) would then call each installer in sequence (say inst1.exe, inst2.exe, etc), without being given a report whether the installer failed or not. Though, I would also have each installer write its results in a single log file. That way, if the installer fails, and closes itself, the original .exe will not know and move onto the next line of code, which would be the next program to install in the sequence.

That way, you will not know until the log file is produced by all the individual installers whether an installation had failed, and could go back and manually run the installer again
My System SpecsSystem Spec
01 Dec 2010   #5

windows 7 32 bit
 
 

thanks for that snak
well that should do it then, though a little round about
but i will take it
what generally goes around in the industry in such situations??
how do major players tackle these problems?
would it be by proper coding or the fool proof methods you suggest
just curious
My System SpecsSystem Spec
01 Dec 2010   #6

W7 Professional x64
 
 

I have no idea, as my training in C and other code is limited to my own studies

Though I do know that Betheseda Softworks has used this method before on Oblivion GOTY edition to install expansions and the game at one time. One expansion failed for me, but the other one installed as well as the game last time.
My System SpecsSystem Spec
Reply

 Multiple Installations




Thread Tools



Similar help and support threads for2: Multiple Installations
Thread Forum
How can i make USB HDD with multiple windows installations. Installation & Setup
Solved Minor boot problem - Multiple Windows installations Installation & Setup
Multiple Installations With Product Keys Question Installation & Setup
Old installations are bad! Performance & Maintenance
Multiple USB Device Driver Installations Failing Hardware & Devices
Multiple OS installations from 1 image file Installation & Setup
VC ++ Installations Not Being Seen Software

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 01:08 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33