[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference decwet::nt-developers

Title:MS Windows NT Developers
Notice:See note 1222 for MS bug reporting info
Moderator:TARKIN::LINEIBER
Created:Mon Nov 11 1991
Last Modified:Tue Jun 03 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:3247
Total number of notes:15633

2968.0. "Setup Toolkit for AXP?" by GBI01::BENVENUTO () Tue May 14 1996 14:15

T.RTitleUserPersonal
Name
DateLines
2968.1DECWET::VOBATue May 14 1996 14:273
2968.2CRONIC::LEMONSAnd we thank you for your support.Fri Feb 21 1997 10:038
    Hi
    
    Is it possibel to build a SETUP.EXE that will execute on both Intel
    and Alpha?  If so, how?
    
    Thanks!
    tl
    
2968.3BHAJEE::JAERVINENOra, the Old Rural AmateurFri Feb 21 1997 10:413
    You could try to create a setup.bat (I think I've seen some) that first
    checks the machine type and then starts the right thing.
    
2968.4WIN16 imageCANDOO::GRIEBFri Feb 21 1997 11:289
Another common way to do this is have the SETUP.EXE be a WIN16 (or
DOS) image. It then figures out the arch and executes SETUP_AXP or
SETUP_X86.EXE.

as mentioned in .-1, .bat files work if you test environment variables
but don't provide as much control/ability to check.


2968.5CRONIC::LEMONSAnd we thank you for your support.Fri Feb 21 1997 11:3310
    Thanks for the suggestion.  Yep, I'll probably do that.  Over in the
    eXcursion notes file, I'm having a discussion about the eXcursion
    SETUP.EXE program, which runs (the exact same image, now) on both Intel
    and Alpha.  Someone responded with the insight that this image is a 286
    16-bit image, and that's why it can run on both hardware architectures.
    
    Comments on this?
    
    Thanks!
    tl
2968.6LJSRV1::GULDENSCHUHSat Feb 22 1997 00:2313
>    Thanks for the suggestion.  Yep, I'll probably do that.  Over in the
>    eXcursion notes file, I'm having a discussion about the eXcursion
>    SETUP.EXE program, which runs (the exact same image, now) on both Intel
>    and Alpha.  Someone responded with the insight that this image is a 286
>    16-bit image, and that's why it can run on both hardware architectures.
    
It's definitely a 16-bit image.  I don't really remember if it was a 286
or a 386 image.  It goes thru an incredibly arcane series of checks to
figure out what software and hardware platform it's running on, and then
fires off the appropriate image from one of the platform sub-directories.

/s/ Chuck

2968.716bit 286 makes sense (pre V4)BBPBV1::WALLACEjohn wallace @ bbp. +44 860 675093Sat Feb 22 1997 08:104
    Prior to V4 there's no 386/486 support in the x86 emulator within
    NT/RISC, so a "compatible executable" had to be a 16bit one AND
    compiled for a 286. NT V4 provided the 386 support. Do you need to run
    on 3.x?
2968.8CRONIC::LEMONSAnd we thank you for your support.Mon Feb 24 1997 10:5914
    "Do you need to run on 3.x?"
    
    Yes, and Windows 95 soon, as well.  So, is there a standard SETUP.EXE
    that performs these platform checks, that I could just take an use, or
    do I have to create this from scratch?  Also, I'm looking for something
    that I can give to another company for free.  I'm deploying a tool that
    doesn't have an installation procedure.  I'd like to write this
    procedure, then give the whole wad to the tool developer, hoping he'll
    support it in the future.
    
    Thoughts?
    
    Thanks!
    tl