Second,copy,will,help,test,Setups,install,tri
Quick Search for:  in language:    
Second,copy,will,help,test,Setups,install,tri
   Code/Articles » |  Newest/Best » |  Community » |  Jobs » |  Other » |  Goto » | 
CategoriesSearch Newest CodeCoding ContestCode of the DayAsk A ProJobsUpload
RentACoder Stats

 Code:  lines
 Jobs: 0 postings

 
Sponsored by:

 

You are in:

 
Login



Latest Code Ticker for RentACoder.
A full chat program(not tested)
By Homee G on 8/19


Click here to see a screenshot of this code!Form Fader OCX control
By Ulli on 8/19

(Screen Shot)

Click here to see a screenshot of this code!Bitmap Font Reader
By cips on 8/19

(Screen Shot)

Of Microsoft, Open Source and Apple Pie
By Christopher Clai on 8/19


Multi Select Combobox
By joxsmith on 8/19


Click here to see a screenshot of this code!Update Plugin Sample2
By Emil Weiss on 8/19

(Screen Shot)

Click here to see a screenshot of this code!Full Winamp Equalizer
By Emil Weiss on 8/19

(Screen Shot)

Electronic Diary
By Gary Seume on 8/19


Click here to see a screenshot of this code!Upload my Plugin
By Emil Weiss on 8/19

(Screen Shot)

Click here to put this ticker on your site!


Add this ticker to your desktop!


Daily Code Email
To join the 'Code of the Day' Mailing List click here!





Affiliate Sites



 
 
   

Installing two copies of Windows 9x and Switching

Print
Email
 

Submitted on: 8/9/2002 1:59:50 AM
By: Ramu 
Level: Beginner
User Rating: By 3 Users
Compatibility:

Users have accessed this article 807 times.
 
 
     The Second copy will help you test Setups, install and run trial versions, or something new whose use in your work is yet to be established. I needed it a lot and I'm sure most do. An uninstall leaves you with many nag screens, files and registry entries back there and a clean format of the hard drive becomes essential. This spare installation can be clean formatted anytime and a new clean install can be performed any time you feel you had enough.

 
 
Terms of Agreement:   
By using this article, you agree to the following terms...   
1) You may use this article in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.   
2) You MAY NOT redistribute this article (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
3) You may link to this article from another website, but ONLY if it is not wrapped in a frame. 
4) You will abide by any additional copyright restrictions which the author may have placed in the article or article's description.

Step by Step Instructions:

1. Change the attribute of the file MSDOS.SYS to Archive and remove all the rest. best way to do it is through the attrib from the command prompt. The file property denies to change one or more properties

C:\>ATTRIB -R -S -H +A C:\MSDOS.SYS

2. Make a copy of this and call it MSDOS.WN1

3. Install Windows using Other Directory option to an empty partition (ideally), There obviously will be a new MSDOS.SYS which points to the new drive (e.g D:\) change the attribute, make a copy of this and call it MSDOS.WN2. (I booted the machine using the Startup Disk and ran Setup from the CD-ROM, I'm not sure whether directly running Setup from Windows has any problems. You may use any option to try this out.)

4. Delete the current MSDOS.SYS and rename MSDOS.WN1 as MSDOS.SYS - you'll boot into the first one now when you restart.

5. Create this batch file and name it SWIN.BAT. Make a shortcut to the Desktop. Once you clicked this and start the previous copy of Windows. you can create the same shortcut to it's Desktop.

REM Contents of SWIN.BAT
ren msdos.sys msdos.wn1
ren msdos.wn2 msdos.sys
ren msdos.wn1 msdos.wn2
RUNDLL32.EXE shell32,SHExitWindowsEx 2

6. There you are! Keep Switching as you need.

Notes:

1. Never let any program to write PATH = C:\WINDOWS;C:\WINDOWS\COMMAND etc. just replace this with %PATH%;... in the AUTOEXEC.BAT file.

2. After you have installed the Second copy, which is intended as our test platform, after installing all necessary drivers etc., you can zip up the entire drive and store the .zip file in a different partition (or drive). This enables a quick restoration of the Second copy if a clean format of the drive is essential.

3. This article is not aimed at Advanced Users, you may know it and will be managing this one way or the other. Please suggest if I have gone wrong somewhere.


Other 1 submission(s) by this author

 

 
Report Bad Submission
Use this form to notify us if this entry should be deleted (i.e contains no code, is a virus, etc.).
Reason:
 
Your Vote!

What do you think of this article(in the Beginner category)?
(The article with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor See Voting Log
 
Other User Comments
8/9/2002 6:44:44 AM:zorrer
Hi ! My Question is ? you write there that... Install Windows using Other Directory option to an empty partition (ideally).. But windows 98 donot install on any other logical drive than the just the primary dos partitian like only C: drive How can you say that install 98 on some other drive ???
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
8/9/2002 7:55:54 AM:Streeaker
Windows (any OS, really) must have a primary partition to boot from - in Windows (or DOS) the boot drive is called C: (other OS's might call it /boot or something similar). The only files that Windows needs on the boot drive are io.sys and msdos.sys. *All other* files can be anywhere that Windows can access without special drivers - another hard drive, a separate partition on the same drive, or a compressed drive image. To do this, when installing Windows, there is a point fairly early on where it asks where to install Windows, and it normally suggests C:\Windows - all you have to do is change that to whatever you want - D:\Win98, X:\OS\Windows, G:\ - all that's required is a valid drive letter. If you want help with this, try posting your question to the newsgroup 24hoursupport.helpdesk - but be patient; they're not geniuses and may not be able to answer your question right off.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
8/9/2002 11:29:40 AM:Usrhlp
Why not just get some software that allows you to run multiple instances of windows on your desktop, saving you the trouble of all the hassle. For instance check out Connectix Virtual PC, it installs windows onto your current hd partition and the whole of the windows install is just ONE file, with this you can delete it at any time andd you have performed a basic format Nothing you do inside that new os will effect your original OS so you can even install virus, hardware or software and your main machine will not be effected in away, its totally secure. This allows you to have linux, windows of any grain and ms dos and even macos now i think, all running at the same time on the same machine with windows as your operating system. It would save so much hassle rather than doing this and risk screwing your machine. Think about it and check it out.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
8/9/2002 11:42:42 AM:Guy Moreau
you could also use vmware
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
8/9/2002 1:31:36 PM:Phillip Ponchot
Personally, I like this. As a network administrator, I can't remember how many times a new install has taken a computer down. With two instances, you could have a "test" system without having to have two computers. Although software might do this for you, this is a cheap (notice the word cheap) easy way to do it. Thanks for sharing!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
8/10/2002 4:41:30 AM:Bill Sargent
And this relates to VB in what way?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
8/10/2002 9:06:16 AM:Real RedNeck
I Thank this is the best way for win98 but with WinMe and it's Restore makes it ??? able. I have worked around the WinMe think If anyone wants to know How e-mail me.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
8/10/2002 3:06:07 PM:lpchip
First off all, yes this is related to vb, because installing different windows versions allows you to test your app under different circumstances. 2nd, i played with VMWare, but it didn't allowed me to install my drivers so i have no use for that. but im very curious about connectix Virtual PC. is there anyone who haves a link or something? you can mail it to, if you believe that submitting that here is spam. Thanx
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
8/10/2002 4:34:12 PM:Coding Genius
This is not a place for things that are distantly related to VB in some far off way like you said! It is a place FOR VB. VB Code! Not postings like ''DRINK COCA COLA. But its ok, this is related to VB because Microsoft made VB and they are a big company and so is coca-cola''. I had to take it to extremities so you would understand how ridiculus your ''yes this is related to vb, because...'' post sounded! Now stop filling up PSC with useless garbage like this! It belongs somewhere else on the internet!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
8/12/2002 9:57:11 AM:Valenitn
OK, Mr.Coding Genius, do you allow other people to be of different opinions from yours? If so, count me in. Deployment is VERY ACTUAL for VB'ers, if only for unwieldy MS VB Setup P&D Master. Not many have access to PC's with all these OS's of MS. (It seems that people of Advanced category and good code are much softer in judgement than mediocres.)
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
8/12/2002 10:48:30 AM:Litehouse
I agree with Valenitn. I probably wouldn't use this at work, due to the fact that I have several machines for testing, but I might at home. Some of the biggest problems with developing an application have to do with deployment. The author of this has provided us with a fairly easy and straightforward method of testing your application under different OS's on 1 machine. Thanks Ramu!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
Add Your Feedback!
Note:Not only will your feedback be posted, but an email will be sent to the code's author in your name.

NOTICE: The author of this article has been kind enough to share it with you.  If you have a criticism, please state it politely or it will be deleted.

For feedback not related to this particular article, please click here.
 
Name:
Comment:

 

Categories | Articles and Tutorials | Advanced Search | Recommended Reading | Upload | Newest Code | Code of the Month | Code of the Day | All Time Hall of Fame | Coding Contest | Search for a job | Post a Job | Ask a Pro Discussion Forum | Live Chat | Feedback | Customize | RentACoder Home | Site Home | Other Sites | About the Site | Feedback | Link to the Site | Awards | Advertising | Privacy

Copyright© 1997 by Exhedra Solutions, Inc. All Rights Reserved.  By using this site you agree to its Terms and Conditions.  Planet Source Code (tm) and the phrase "Dream It. Code It" (tm) are trademarks of Exhedra Solutions, Inc.