PDA

View Full Version : Win95 DialUp networking



NewsArchive
03-25-1997, 01:00 AM
Hello!

Can someone give me a hint how to install the Dialupnetwork without
using microsofts .ins files under win95?

Regards,
Thomas

NewsArchive
03-27-1997, 01:00 AM
Berglund,


it would be nicer to post the question in only on newsgroups
rather than all.



Berglund <teb@algonet.se> wrote in article <33381983.4CC4@algonet.se>...
> Hello!
>
> Can someone give me a hint how to install the Dialupnetwork without
> using microsofts .ins files under win95?
>
> Regards,
> Thomas
>

NewsArchive
03-31-1997, 01:00 AM
Sorry, but we don't have any examples on that right now.

Kent
InstallShield Technical Support

Berglund <teb@algonet.se> wrote in article <33381983.4CC4@algonet.se>...
> Hello!
>
> Can someone give me a hint how to install the Dialupnetwork without
> using microsofts .ins files under win95?
>
> Regards,
> Thomas
>

NewsArchive
04-03-1997, 01:00 AM
I'd like to know the same kind of thing. I am trying to install TCP/IP and
Dial-up Adapter automatically. I've figured out how to do it using
recorder and a keyboard macro, an incredibly low-tech, brute force way.

Thanks,

Patrick



Berglund <teb@algonet.se> wrote in article <33381983.4CC4@algonet.se>...
> Hello!
>
> Can someone give me a hint how to install the Dialupnetwork without
> using microsofts .ins files under win95?
>
> Regards,
> Thomas
>

NewsArchive
05-12-1997, 12:00 AM
Berglund wrote:
>
> Hello!
>
> Can someone give me a hint how to install the Dialupnetwork without
> using microsofts .ins files under win95?
>
> Regards,
> Thomas

I would also like to have help with the installation of a dial up
networking Icon.
Thanks,
Kevin

NewsArchive
05-12-1997, 12:00 AM
Berglund wrote:
>
> Hello!
>
> Can someone give me a hint how to install the Dialupnetwork without
> using microsofts .ins files under win95?
>
> Regards,
> Thomas

I would also like to have help with the installation of a dial up
networking Icon.
Thanks,
Kevin

NewsArchive
05-12-1997, 12:00 AM
Berglund wrote:
>
> Hello!
>
> Can someone give me a hint how to install the Dialupnetwork without
> using microsofts .ins files under win95?
>
> Regards,
> Thomas

I would also like to have help with the installation of a dial up
networking Icon.
Thanks,
Kevin

NewsArchive
08-27-1997, 12:00 AM
InstallShield Corp. wrote:
>InstallShield5 does not support Win32s. So, you may run into some
>issues if you are running a 32-bit setup on Win32s.

You kept that quiet didn't you? I have just purchased IS5 and have never
seen mention of Win32s support being dropped. Care to elaborate on what
'some issues' are?

I want to create a setup for a Win32s-compliant application - does this
mean I need two installers? One 16 bit for Windows 3.11 and another for
Windows 95 in order to handle long filenames etc.??

If IS5 is going to waste my time like this I'll return it and carry on
using the trusty-but-crusty IS3!

Paul Dixon
YITM

NewsArchive
08-28-1997, 12:00 AM

NewsArchive
09-02-1997, 12:00 AM
Berglund wrote:
> Can someone give me a hint how to install the Dialupnetwork without
> using microsofts .ins files under win95?
>
Installing DUN is pretty straightforward. You need to run the following
command line: "rundll setupx.dll,InstallHInfSection rna 0 rna.inf",
which can (probably) be done via the LaunchAppAndWait() mechanism. This
will give you most of Windows networking, including the NetBEUI and
IPX/SPX protocols.

Installing TCP/IP requires a series of calls into a mechanism called the
device installer. to open the nettrans.inf file, build a list of
available drivers, get the index of the one named TCP/IP, then use that
index to instruct the class installer function to install it.

These are arcane, but not too complicated. The painful part is that the
device installer functions are 16-bit functions, and cannot be called
directly from 32-bit code. You must resort to flat thunks, which
involve a 32-bit DLL for you to call from IS, a 16-bit DLL to call the
device installer and some assembly code to perform the connection
between them. Unless you are an experienced C programmer, I do NOT
recommend attempting this.

--

/////////////////////////////////////////////////////////////
// Evan Burkitt Epoch Internet
// eburkitt@eni.net http://www.eni.net/

NewsArchive
09-02-1997, 12:00 AM
Berglund wrote:
> Can someone give me a hint how to install the Dialupnetwork without
> using microsofts .ins files under win95?
>
Installing DUN is pretty straightforward. You need to run the following
command line: "rundll setupx.dll,InstallHInfSection rna 0 rna.inf",
which can (probably) be done via the LaunchAppAndWait() mechanism. This
will give you most of Windows networking, including the NetBEUI and
IPX/SPX protocols.

Installing TCP/IP requires a series of calls into a mechanism called the
device installer. to open the nettrans.inf file, build a list of
available drivers, get the index of the one named TCP/IP, then use that
index to instruct the class installer function to install it.

These are arcane, but not too complicated. The painful part is that the
device installer functions are 16-bit functions, and cannot be called
directly from 32-bit code. You must resort to flat thunks, which
involve a 32-bit DLL for you to call from IS, a 16-bit DLL to call the
device installer and some assembly code to perform the connection
between them. Unless you are an experienced C programmer, I do NOT
recommend attempting this.

--

/////////////////////////////////////////////////////////////
// Evan Burkitt Epoch Internet
// eburkitt@eni.net http://www.eni.net/

NewsArchive
10-28-1997, 01:00 AM
What do you mean when you say "IS5 does not support Win32s"?
Does it not install Win32s or will a script created with IS5 not run under
Win32s?


InstallShield Corp. wrote:

> Hello,
> Ok, I'm not exactly sure what win32s.z is, I'm assuming it could be wither
> a IS3 compressed file or a pkzipped file. With this in mind, the best way
> to go about this is to uncompress these files into a separate subdirectory,
> and to add a separate component to install these uncompressed files. IS5
> does not support Win32s however.
> It will not automatically uncompress anything that IS5 didn't create.
> Check our website for more details.
>
> --
> Asif Chowdhury
> InstallShield Software Corp.
>
> P.S. Our website, http://www.installshield.com/, covers a wide range of
> resources for your installation development. Read technical whitepapers,
> view documentation or search the Knowledge Base to get support information
> 24 hours a day, 7 days a week.
>
> foxleyd <foxleyd@bellhow.co.uk> wrote in article
> <3437DBB1.6B2F@bellhow.co.uk>...
> > Hi,
> >
> > I'm using win32s.z within ny IS5, however the setup will not decompress
> > this. Do I have to put the uncompressed files into the component group
> > or I will IS5 not decompress this anyway?
> >
> > Any ideas.
> >
> > thanks
> >
> > daren
> >

NewsArchive
10-28-1997, 01:00 AM
On Tue, 28 Oct 1997 14:35:24 -0500, Christian Macdonald <macdonld@ph.com>
wrote:
>What do you mean when you say "IS5 does not support Win32s"?
>Does it not install Win32s or will a script created with IS5 not run under
>Win32s?

Only Win16 (16-bit) apps will run under Win32s, not 32-bit setup programs.
That includes IS5 and ISX2 or any setups written in them.

Stefan
ellipse data systems

NewsArchive
12-05-2000, 01:00 AM
Oki but your function only works with Install Shield 6.2x...not with the
6.1x...

Guillaume

"Steve Ogilvie" <sogilvie@jetform.com> a écrit dans le message news:
3a2d1957$1@12.41.20.38...
> use the SYSINFO structure to determine what OS your running
>
> i.e.
>
>
////////////////////////////////////////////////////////////////////////////
> ///
> //
> // Function: CheckOS
> //
> // Purpose: This function checks for which OS is currently running
> //
>
////////////////////////////////////////////////////////////////////////////
> ///
> function CheckOS()
> begin
>
> bIsShellExplorer = FALSE;
> bIsWindowsNT4 = FALSE;
> bIsWindows2000 = FALSE;
> bIsWinNT = FALSE;
> bIsWindowsNT351 = FALSE;
> bIsWindowsME = FALSE;
> bIsWindows95 = FALSE;
> bIsWindows98 = FALSE;
> /* check to see if Shell is explorer */
> if (SYSINFO.bShellExplorer) then
> bIsShellExplorer = TRUE;
> else
> bIsShellExplorer = FALSE;
> endif;
> /* Check to see if OS is Windows W2K, Windows NT 4.0 or Windows NT
3.51,
> */
> if (SYSINFO.WINNT.bWin2000) then
> bIsWindows2000 = TRUE;
> bIsWinNT = TRUE;
> svOS = "Windows 2000";
> endif;
> if (SYSINFO.WINNT.bWinNT4) then
> bIsWindowsNT4 = TRUE;
> bIsWinNT = TRUE;
> svOS = "Windows NT 4";
> endif;
> if (SYSINFO.WINNT.bWinNT351) then
> bIsWindowsNT351 = TRUE;
> svOS = "Windows NT 3.51";
> endif;
> /* Check to see if OS is Windows Me, Windows 95 or Windows 98 */
> if (SYSINFO.WIN9X.bWinMe) then
> bIsWindowsME = TRUE;
> svOS = "Windows Me";
> endif;
> if (SYSINFO.WIN9X.bWin95) then
> bIsWindows95 = TRUE;
> svOS = "Windows 95";
> endif;
> if (SYSINFO.WIN9X.bWin98) then
> bIsWindows98 = TRUE;
> svOS = "Windows 98";
> endif;
>
> end;
>
>
> regards,
>
> --
> Steve Ogilvie
> JetForm Corporation
> Release Engineer for e-DP
> sogilvie@jetform.com
> www.jetform.com
>
>
> "Thierry Debusschere" <debusschere@hotmail.com> wrote in message
> news:3a2cf2c1$1@12.41.20.38...
> > Does there anyone know a registry key where i can check on to know if it
> is
> > win '98????
> >
> > please help me!!
> > it's very urgent
> >
> > mail me @ debusschere@hotmail.com
> >
> > thx
> >
> >
> >
> >
>
>

NewsArchive
12-05-2000, 01:00 AM
oops sorry

try this one...

////////////////////////////////////////////////////////////////////////////
///
//
// Function: CheckOS
// Purpose: This function checks all minimum requirements for the
// application being installed.
//
////////////////////////////////////////////////////////////////////////////
///
function CheckRequirements()
NUMBER nResult, nvResult, nvCpu;
STRING svResult, svCpu;

begin

bIsShellExplorer = FALSE;
bIsWindows2000 = FALSE;
bIsWinNT = FALSE;
bIsWindowsNT4 = FALSE;
bIsWindowsNT351 = FALSE;
bIsWindows95 = FALSE;
bIsWindows98 = FALSE;
bIsWindowsMe = FALSE;


/* Determine the target system's operating system. */
GetSystemInfo( OS, nvResult, svResult );

if (nvResult = IS_WINDOWSNT) then
/* Check to see if OS is Windows NT 4.0 or Windows NT 3.51,
and if the shell being used is the Explorer shell. */
if (GetSystemInfo( WINMAJOR, nvResult, svResult ) = 0) then
if (nvResult = 5) then
bIsShellExplorer = TRUE;
bIsWindows2000 = TRUE;
bIsWinNT = TRUE;
svOS = "Windows 2000";
elseif (nvResult = 4) then
bIsShellExplorer = TRUE;
bIsWindowsNT4 = TRUE;
bIsWinNT = TRUE;
svOS = "Windows NT 4";
else
bIsWindowsNT351 = TRUE;
svOS = "Windows NT 3.51";
endif;
endif;
elseif (nvResult = IS_WINDOWS9X) then
bIsShellExplorer = TRUE;
/* Check to see if OS is Windows 95 or Windows 98 */
GetSystemInfo (WINMINOR, nvResult, svResult);
if (nvResult = 00) then
bIsWindows95 = TRUE;
svOS = "Windows 95";
elseif (nvResult = 10) then
bIsWindows98 = TRUE;
svOS = "Windows 98";
elseif (nvResult = 90) then
bIsWindowsMe = TRUE;
svOS = "Windows Me";
endif;
endif;

end;

regards,

--
Steve Ogilvie
JetForm Corporation
Release Engineer for e-DP
sogilvie@jetform.com
www.jetform.com


"Guillaume" <gmarie@genilink.com> wrote in message
news:3a2d1c52$1@12.41.20.38...
> Oki but your function only works with Install Shield 6.2x...not with the
> 6.1x...
>
> Guillaume
>
> "Steve Ogilvie" <sogilvie@jetform.com> a écrit dans le message news:
> 3a2d1957$1@12.41.20.38...
> > use the SYSINFO structure to determine what OS your running
> >
> > i.e.
> >
> >
>
////////////////////////////////////////////////////////////////////////////
> > ///
> > //
> > // Function: CheckOS
> > //
> > // Purpose: This function checks for which OS is currently running
> > //
> >
>
////////////////////////////////////////////////////////////////////////////
> > ///
> > function CheckOS()
> > begin
> >
> > bIsShellExplorer = FALSE;
> > bIsWindowsNT4 = FALSE;
> > bIsWindows2000 = FALSE;
> > bIsWinNT = FALSE;
> > bIsWindowsNT351 = FALSE;
> > bIsWindowsME = FALSE;
> > bIsWindows95 = FALSE;
> > bIsWindows98 = FALSE;
> > /* check to see if Shell is explorer */
> > if (SYSINFO.bShellExplorer) then
> > bIsShellExplorer = TRUE;
> > else
> > bIsShellExplorer = FALSE;
> > endif;
> > /* Check to see if OS is Windows W2K, Windows NT 4.0 or Windows NT
> 3.51,
> > */
> > if (SYSINFO.WINNT.bWin2000) then
> > bIsWindows2000 = TRUE;
> > bIsWinNT = TRUE;
> > svOS = "Windows 2000";
> > endif;
> > if (SYSINFO.WINNT.bWinNT4) then
> > bIsWindowsNT4 = TRUE;
> > bIsWinNT = TRUE;
> > svOS = "Windows NT 4";
> > endif;
> > if (SYSINFO.WINNT.bWinNT351) then
> > bIsWindowsNT351 = TRUE;
> > svOS = "Windows NT 3.51";
> > endif;
> > /* Check to see if OS is Windows Me, Windows 95 or Windows 98 */
> > if (SYSINFO.WIN9X.bWinMe) then
> > bIsWindowsME = TRUE;
> > svOS = "Windows Me";
> > endif;
> > if (SYSINFO.WIN9X.bWin95) then
> > bIsWindows95 = TRUE;
> > svOS = "Windows 95";
> > endif;
> > if (SYSINFO.WIN9X.bWin98) then
> > bIsWindows98 = TRUE;
> > svOS = "Windows 98";
> > endif;
> >
> > end;
> >
> >
> > regards,
> >
> > --
> > Steve Ogilvie
> > JetForm Corporation
> > Release Engineer for e-DP
> > sogilvie@jetform.com
> > www.jetform.com
> >
> >
> > "Thierry Debusschere" <debusschere@hotmail.com> wrote in message
> > news:3a2cf2c1$1@12.41.20.38...
> > > Does there anyone know a registry key where i can check on to know if
it
> > is
> > > win '98????
> > >
> > > please help me!!
> > > it's very urgent
> > >
> > > mail me @ debusschere@hotmail.com
> > >
> > > thx
> > >
> > >
> > >
> > >
> >
> >
>
>

NewsArchive
12-05-2000, 01:00 AM
ok ok
it works
thx
"Steve Ogilvie" <sogilvie@jetform.com> wrote in message
news:3a2d1fa3$1@12.41.20.38...
> oops sorry
>
> try this one...
>
>
////////////////////////////////////////////////////////////////////////////
> ///
> //
> // Function: CheckOS
> // Purpose: This function checks all minimum requirements for the
> // application being installed.
> //
>
////////////////////////////////////////////////////////////////////////////
> ///
> function CheckRequirements()
> NUMBER nResult, nvResult, nvCpu;
> STRING svResult, svCpu;
>
> begin
>
> bIsShellExplorer = FALSE;
> bIsWindows2000 = FALSE;
> bIsWinNT = FALSE;
> bIsWindowsNT4 = FALSE;
> bIsWindowsNT351 = FALSE;
> bIsWindows95 = FALSE;
> bIsWindows98 = FALSE;
> bIsWindowsMe = FALSE;
>
>
> /* Determine the target system's operating system. */
> GetSystemInfo( OS, nvResult, svResult );
>
> if (nvResult = IS_WINDOWSNT) then
> /* Check to see if OS is Windows NT 4.0 or Windows NT 3.51,
> and if the shell being used is the Explorer shell. */
> if (GetSystemInfo( WINMAJOR, nvResult, svResult ) = 0) then
> if (nvResult = 5) then
> bIsShellExplorer = TRUE;
> bIsWindows2000 = TRUE;
> bIsWinNT = TRUE;
> svOS = "Windows 2000";
> elseif (nvResult = 4) then
> bIsShellExplorer = TRUE;
> bIsWindowsNT4 = TRUE;
> bIsWinNT = TRUE;
> svOS = "Windows NT 4";
> else
> bIsWindowsNT351 = TRUE;
> svOS = "Windows NT 3.51";
> endif;
> endif;
> elseif (nvResult = IS_WINDOWS9X) then
> bIsShellExplorer = TRUE;
> /* Check to see if OS is Windows 95 or Windows 98 */
> GetSystemInfo (WINMINOR, nvResult, svResult);
> if (nvResult = 00) then
> bIsWindows95 = TRUE;
> svOS = "Windows 95";
> elseif (nvResult = 10) then
> bIsWindows98 = TRUE;
> svOS = "Windows 98";
> elseif (nvResult = 90) then
> bIsWindowsMe = TRUE;
> svOS = "Windows Me";
> endif;
> endif;
>
> end;
>
> regards,
>
> --
> Steve Ogilvie
> JetForm Corporation
> Release Engineer for e-DP
> sogilvie@jetform.com
> www.jetform.com
>
>
> "Guillaume" <gmarie@genilink.com> wrote in message
> news:3a2d1c52$1@12.41.20.38...
> > Oki but your function only works with Install Shield 6.2x...not with the
> > 6.1x...
> >
> > Guillaume
> >
> > "Steve Ogilvie" <sogilvie@jetform.com> a écrit dans le message news:
> > 3a2d1957$1@12.41.20.38...
> > > use the SYSINFO structure to determine what OS your running
> > >
> > > i.e.
> > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////
> > > ///
> > > //
> > > // Function: CheckOS
> > > //
> > > // Purpose: This function checks for which OS is currently running
> > > //
> > >
> >
>
////////////////////////////////////////////////////////////////////////////
> > > ///
> > > function CheckOS()
> > > begin
> > >
> > > bIsShellExplorer = FALSE;
> > > bIsWindowsNT4 = FALSE;
> > > bIsWindows2000 = FALSE;
> > > bIsWinNT = FALSE;
> > > bIsWindowsNT351 = FALSE;
> > > bIsWindowsME = FALSE;
> > > bIsWindows95 = FALSE;
> > > bIsWindows98 = FALSE;
> > > /* check to see if Shell is explorer */
> > > if (SYSINFO.bShellExplorer) then
> > > bIsShellExplorer = TRUE;
> > > else
> > > bIsShellExplorer = FALSE;
> > > endif;
> > > /* Check to see if OS is Windows W2K, Windows NT 4.0 or Windows NT
> > 3.51,
> > > */
> > > if (SYSINFO.WINNT.bWin2000) then
> > > bIsWindows2000 = TRUE;
> > > bIsWinNT = TRUE;
> > > svOS = "Windows 2000";
> > > endif;
> > > if (SYSINFO.WINNT.bWinNT4) then
> > > bIsWindowsNT4 = TRUE;
> > > bIsWinNT = TRUE;
> > > svOS = "Windows NT 4";
> > > endif;
> > > if (SYSINFO.WINNT.bWinNT351) then
> > > bIsWindowsNT351 = TRUE;
> > > svOS = "Windows NT 3.51";
> > > endif;
> > > /* Check to see if OS is Windows Me, Windows 95 or Windows 98 */
> > > if (SYSINFO.WIN9X.bWinMe) then
> > > bIsWindowsME = TRUE;
> > > svOS = "Windows Me";
> > > endif;
> > > if (SYSINFO.WIN9X.bWin95) then
> > > bIsWindows95 = TRUE;
> > > svOS = "Windows 95";
> > > endif;
> > > if (SYSINFO.WIN9X.bWin98) then
> > > bIsWindows98 = TRUE;
> > > svOS = "Windows 98";
> > > endif;
> > >
> > > end;
> > >
> > >
> > > regards,
> > >
> > > --
> > > Steve Ogilvie
> > > JetForm Corporation
> > > Release Engineer for e-DP
> > > sogilvie@jetform.com
> > > www.jetform.com
> > >
> > >
> > > "Thierry Debusschere" <debusschere@hotmail.com> wrote in message
> > > news:3a2cf2c1$1@12.41.20.38...
> > > > Does there anyone know a registry key where i can check on to know
if
> it
> > > is
> > > > win '98????
> > > >
> > > > please help me!!
> > > > it's very urgent
> > > >
> > > > mail me @ debusschere@hotmail.com
> > > >
> > > > thx
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>

NewsArchive
12-05-2000, 01:00 AM
Oki but your function only works with Install Shield 6.2x...not with the
6.1x...

Guillaume

"Steve Ogilvie" <sogilvie@jetform.com> a écrit dans le message news:
3a2d1957$1@12.41.20.38...
> use the SYSINFO structure to determine what OS your running
>
> i.e.
>
>
////////////////////////////////////////////////////////////////////////////
> ///
> //
> // Function: CheckOS
> //
> // Purpose: This function checks for which OS is currently running
> //
>
////////////////////////////////////////////////////////////////////////////
> ///
> function CheckOS()
> begin
>
> bIsShellExplorer = FALSE;
> bIsWindowsNT4 = FALSE;
> bIsWindows2000 = FALSE;
> bIsWinNT = FALSE;
> bIsWindowsNT351 = FALSE;
> bIsWindowsME = FALSE;
> bIsWindows95 = FALSE;
> bIsWindows98 = FALSE;
> /* check to see if Shell is explorer */
> if (SYSINFO.bShellExplorer) then
> bIsShellExplorer = TRUE;
> else
> bIsShellExplorer = FALSE;
> endif;
> /* Check to see if OS is Windows W2K, Windows NT 4.0 or Windows NT
3.51,
> */
> if (SYSINFO.WINNT.bWin2000) then
> bIsWindows2000 = TRUE;
> bIsWinNT = TRUE;
> svOS = "Windows 2000";
> endif;
> if (SYSINFO.WINNT.bWinNT4) then
> bIsWindowsNT4 = TRUE;
> bIsWinNT = TRUE;
> svOS = "Windows NT 4";
> endif;
> if (SYSINFO.WINNT.bWinNT351) then
> bIsWindowsNT351 = TRUE;
> svOS = "Windows NT 3.51";
> endif;
> /* Check to see if OS is Windows Me, Windows 95 or Windows 98 */
> if (SYSINFO.WIN9X.bWinMe) then
> bIsWindowsME = TRUE;
> svOS = "Windows Me";
> endif;
> if (SYSINFO.WIN9X.bWin95) then
> bIsWindows95 = TRUE;
> svOS = "Windows 95";
> endif;
> if (SYSINFO.WIN9X.bWin98) then
> bIsWindows98 = TRUE;
> svOS = "Windows 98";
> endif;
>
> end;
>
>
> regards,
>
> --
> Steve Ogilvie
> JetForm Corporation
> Release Engineer for e-DP
> sogilvie@jetform.com
> www.jetform.com
>
>
> "Thierry Debusschere" <debusschere@hotmail.com> wrote in message
> news:3a2cf2c1$1@12.41.20.38...
> > Does there anyone know a registry key where i can check on to know if it
> is
> > win '98????
> >
> > please help me!!
> > it's very urgent
> >
> > mail me @ debusschere@hotmail.com
> >
> > thx
> >
> >
> >
> >
>
>

NewsArchive
12-05-2000, 01:00 AM
oops sorry

try this one...

////////////////////////////////////////////////////////////////////////////
///
//
// Function: CheckOS
// Purpose: This function checks all minimum requirements for the
// application being installed.
//
////////////////////////////////////////////////////////////////////////////
///
function CheckRequirements()
NUMBER nResult, nvResult, nvCpu;
STRING svResult, svCpu;

begin

bIsShellExplorer = FALSE;
bIsWindows2000 = FALSE;
bIsWinNT = FALSE;
bIsWindowsNT4 = FALSE;
bIsWindowsNT351 = FALSE;
bIsWindows95 = FALSE;
bIsWindows98 = FALSE;
bIsWindowsMe = FALSE;


/* Determine the target system's operating system. */
GetSystemInfo( OS, nvResult, svResult );

if (nvResult = IS_WINDOWSNT) then
/* Check to see if OS is Windows NT 4.0 or Windows NT 3.51,
and if the shell being used is the Explorer shell. */
if (GetSystemInfo( WINMAJOR, nvResult, svResult ) = 0) then
if (nvResult = 5) then
bIsShellExplorer = TRUE;
bIsWindows2000 = TRUE;
bIsWinNT = TRUE;
svOS = "Windows 2000";
elseif (nvResult = 4) then
bIsShellExplorer = TRUE;
bIsWindowsNT4 = TRUE;
bIsWinNT = TRUE;
svOS = "Windows NT 4";
else
bIsWindowsNT351 = TRUE;
svOS = "Windows NT 3.51";
endif;
endif;
elseif (nvResult = IS_WINDOWS9X) then
bIsShellExplorer = TRUE;
/* Check to see if OS is Windows 95 or Windows 98 */
GetSystemInfo (WINMINOR, nvResult, svResult);
if (nvResult = 00) then
bIsWindows95 = TRUE;
svOS = "Windows 95";
elseif (nvResult = 10) then
bIsWindows98 = TRUE;
svOS = "Windows 98";
elseif (nvResult = 90) then
bIsWindowsMe = TRUE;
svOS = "Windows Me";
endif;
endif;

end;

regards,

--
Steve Ogilvie
JetForm Corporation
Release Engineer for e-DP
sogilvie@jetform.com
www.jetform.com


"Guillaume" <gmarie@genilink.com> wrote in message
news:3a2d1c52$1@12.41.20.38...
> Oki but your function only works with Install Shield 6.2x...not with the
> 6.1x...
>
> Guillaume
>
> "Steve Ogilvie" <sogilvie@jetform.com> a écrit dans le message news:
> 3a2d1957$1@12.41.20.38...
> > use the SYSINFO structure to determine what OS your running
> >
> > i.e.
> >
> >
>
////////////////////////////////////////////////////////////////////////////
> > ///
> > //
> > // Function: CheckOS
> > //
> > // Purpose: This function checks for which OS is currently running
> > //
> >
>
////////////////////////////////////////////////////////////////////////////
> > ///
> > function CheckOS()
> > begin
> >
> > bIsShellExplorer = FALSE;
> > bIsWindowsNT4 = FALSE;
> > bIsWindows2000 = FALSE;
> > bIsWinNT = FALSE;
> > bIsWindowsNT351 = FALSE;
> > bIsWindowsME = FALSE;
> > bIsWindows95 = FALSE;
> > bIsWindows98 = FALSE;
> > /* check to see if Shell is explorer */
> > if (SYSINFO.bShellExplorer) then
> > bIsShellExplorer = TRUE;
> > else
> > bIsShellExplorer = FALSE;
> > endif;
> > /* Check to see if OS is Windows W2K, Windows NT 4.0 or Windows NT
> 3.51,
> > */
> > if (SYSINFO.WINNT.bWin2000) then
> > bIsWindows2000 = TRUE;
> > bIsWinNT = TRUE;
> > svOS = "Windows 2000";
> > endif;
> > if (SYSINFO.WINNT.bWinNT4) then
> > bIsWindowsNT4 = TRUE;
> > bIsWinNT = TRUE;
> > svOS = "Windows NT 4";
> > endif;
> > if (SYSINFO.WINNT.bWinNT351) then
> > bIsWindowsNT351 = TRUE;
> > svOS = "Windows NT 3.51";
> > endif;
> > /* Check to see if OS is Windows Me, Windows 95 or Windows 98 */
> > if (SYSINFO.WIN9X.bWinMe) then
> > bIsWindowsME = TRUE;
> > svOS = "Windows Me";
> > endif;
> > if (SYSINFO.WIN9X.bWin95) then
> > bIsWindows95 = TRUE;
> > svOS = "Windows 95";
> > endif;
> > if (SYSINFO.WIN9X.bWin98) then
> > bIsWindows98 = TRUE;
> > svOS = "Windows 98";
> > endif;
> >
> > end;
> >
> >
> > regards,
> >
> > --
> > Steve Ogilvie
> > JetForm Corporation
> > Release Engineer for e-DP
> > sogilvie@jetform.com
> > www.jetform.com
> >
> >
> > "Thierry Debusschere" <debusschere@hotmail.com> wrote in message
> > news:3a2cf2c1$1@12.41.20.38...
> > > Does there anyone know a registry key where i can check on to know if
it
> > is
> > > win '98????
> > >
> > > please help me!!
> > > it's very urgent
> > >
> > > mail me @ debusschere@hotmail.com
> > >
> > > thx
> > >
> > >
> > >
> > >
> >
> >
>
>

NewsArchive
12-05-2000, 01:00 AM
ok ok
it works
thx
"Steve Ogilvie" <sogilvie@jetform.com> wrote in message
news:3a2d1fa3$1@12.41.20.38...
> oops sorry
>
> try this one...
>
>
////////////////////////////////////////////////////////////////////////////
> ///
> //
> // Function: CheckOS
> // Purpose: This function checks all minimum requirements for the
> // application being installed.
> //
>
////////////////////////////////////////////////////////////////////////////
> ///
> function CheckRequirements()
> NUMBER nResult, nvResult, nvCpu;
> STRING svResult, svCpu;
>
> begin
>
> bIsShellExplorer = FALSE;
> bIsWindows2000 = FALSE;
> bIsWinNT = FALSE;
> bIsWindowsNT4 = FALSE;
> bIsWindowsNT351 = FALSE;
> bIsWindows95 = FALSE;
> bIsWindows98 = FALSE;
> bIsWindowsMe = FALSE;
>
>
> /* Determine the target system's operating system. */
> GetSystemInfo( OS, nvResult, svResult );
>
> if (nvResult = IS_WINDOWSNT) then
> /* Check to see if OS is Windows NT 4.0 or Windows NT 3.51,
> and if the shell being used is the Explorer shell. */
> if (GetSystemInfo( WINMAJOR, nvResult, svResult ) = 0) then
> if (nvResult = 5) then
> bIsShellExplorer = TRUE;
> bIsWindows2000 = TRUE;
> bIsWinNT = TRUE;
> svOS = "Windows 2000";
> elseif (nvResult = 4) then
> bIsShellExplorer = TRUE;
> bIsWindowsNT4 = TRUE;
> bIsWinNT = TRUE;
> svOS = "Windows NT 4";
> else
> bIsWindowsNT351 = TRUE;
> svOS = "Windows NT 3.51";
> endif;
> endif;
> elseif (nvResult = IS_WINDOWS9X) then
> bIsShellExplorer = TRUE;
> /* Check to see if OS is Windows 95 or Windows 98 */
> GetSystemInfo (WINMINOR, nvResult, svResult);
> if (nvResult = 00) then
> bIsWindows95 = TRUE;
> svOS = "Windows 95";
> elseif (nvResult = 10) then
> bIsWindows98 = TRUE;
> svOS = "Windows 98";
> elseif (nvResult = 90) then
> bIsWindowsMe = TRUE;
> svOS = "Windows Me";
> endif;
> endif;
>
> end;
>
> regards,
>
> --
> Steve Ogilvie
> JetForm Corporation
> Release Engineer for e-DP
> sogilvie@jetform.com
> www.jetform.com
>
>
> "Guillaume" <gmarie@genilink.com> wrote in message
> news:3a2d1c52$1@12.41.20.38...
> > Oki but your function only works with Install Shield 6.2x...not with the
> > 6.1x...
> >
> > Guillaume
> >
> > "Steve Ogilvie" <sogilvie@jetform.com> a écrit dans le message news:
> > 3a2d1957$1@12.41.20.38...
> > > use the SYSINFO structure to determine what OS your running
> > >
> > > i.e.
> > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////
> > > ///
> > > //
> > > // Function: CheckOS
> > > //
> > > // Purpose: This function checks for which OS is currently running
> > > //
> > >
> >
>
////////////////////////////////////////////////////////////////////////////
> > > ///
> > > function CheckOS()
> > > begin
> > >
> > > bIsShellExplorer = FALSE;
> > > bIsWindowsNT4 = FALSE;
> > > bIsWindows2000 = FALSE;
> > > bIsWinNT = FALSE;
> > > bIsWindowsNT351 = FALSE;
> > > bIsWindowsME = FALSE;
> > > bIsWindows95 = FALSE;
> > > bIsWindows98 = FALSE;
> > > /* check to see if Shell is explorer */
> > > if (SYSINFO.bShellExplorer) then
> > > bIsShellExplorer = TRUE;
> > > else
> > > bIsShellExplorer = FALSE;
> > > endif;
> > > /* Check to see if OS is Windows W2K, Windows NT 4.0 or Windows NT
> > 3.51,
> > > */
> > > if (SYSINFO.WINNT.bWin2000) then
> > > bIsWindows2000 = TRUE;
> > > bIsWinNT = TRUE;
> > > svOS = "Windows 2000";
> > > endif;
> > > if (SYSINFO.WINNT.bWinNT4) then
> > > bIsWindowsNT4 = TRUE;
> > > bIsWinNT = TRUE;
> > > svOS = "Windows NT 4";
> > > endif;
> > > if (SYSINFO.WINNT.bWinNT351) then
> > > bIsWindowsNT351 = TRUE;
> > > svOS = "Windows NT 3.51";
> > > endif;
> > > /* Check to see if OS is Windows Me, Windows 95 or Windows 98 */
> > > if (SYSINFO.WIN9X.bWinMe) then
> > > bIsWindowsME = TRUE;
> > > svOS = "Windows Me";
> > > endif;
> > > if (SYSINFO.WIN9X.bWin95) then
> > > bIsWindows95 = TRUE;
> > > svOS = "Windows 95";
> > > endif;
> > > if (SYSINFO.WIN9X.bWin98) then
> > > bIsWindows98 = TRUE;
> > > svOS = "Windows 98";
> > > endif;
> > >
> > > end;
> > >
> > >
> > > regards,
> > >
> > > --
> > > Steve Ogilvie
> > > JetForm Corporation
> > > Release Engineer for e-DP
> > > sogilvie@jetform.com
> > > www.jetform.com
> > >
> > >
> > > "Thierry Debusschere" <debusschere@hotmail.com> wrote in message
> > > news:3a2cf2c1$1@12.41.20.38...
> > > > Does there anyone know a registry key where i can check on to know
if
> it
> > > is
> > > > win '98????
> > > >
> > > > please help me!!
> > > > it's very urgent
> > > >
> > > > mail me @ debusschere@hotmail.com
> > > >
> > > > thx
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>

NewsArchive
12-06-2000, 01:00 AM
thanks very much,
i have another problem with win98, now the MDAC 2.1 doesn't want to install

can you please help me
thx

"Vikram-InstallShield" <supportnews@installshield.com> wrote in message
news:3a2d8732$1@12.41.20.38...
> Hello,
>
> From the registry key HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion and
Get
> the
> value of the Keyname Version. It should be Windows 98, one can get the
value
> using our registry functions.
> For more detail refer to on line help.
>
> Another way.
>
> In IS6.x one can check the value of SYSINFO.WIN9X.bWin98 , if it is TRUE
> then the target OS is Windows 98.
> Example.
> if (SYSINFO.WIN9X.bWin98) then
> MessageBox("Installing on Windows 98",INFORMATION);
> endif
>
>
> Alternative is to call GetSystemInfo (nItem, nvResult, svResult);
>
> Pass nItem as OS
> It will return following constant if OS is 95 or 98
>
> IS_WINDOWS9X -
> Operating system is Windows 95 or Windows 98. To determine which, call
> GetSystemInfo with WINMINOR to check the minor version. If less than 10,
the
> operating system is Windows 95; otherwise, it's Windows 98.
>
> Thanks
> Vikram Jani
> InstallShield Technical Support.
>
>
> Thierry Debusschere <debusschere@hotmail.com> wrote in message
> news:3a2cf309@12.41.20.38...
> > Does there anyone know a registry key where i can check on to know if it
> is
> > win '98????
> >
> > please help me!!
> > it's very urgent
> >
> > mail me @ debusschere@hotmail.com
> >
> > thx
> >
> >
>
>