Announcement

Collapse
No announcement yet.

Checking for Windows 98 SE

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Checking for Windows 98 SE

    Is there a way to distinguish between Windows 98 and Windows 98 SE using AMS 4?

    I realize there's a built in variable for %IsWin98%, but that doesn't distinguish, does it?

    It's important, because Windows Media Player 9 and associated new codecs are compatible with 98 SE, but not with original 98. Basically, I want to tell a user that they'll need to upgrade to Windows 98 SE if they are running 98 in order to watch my videos in the project.
    Eric Darling
    eThree Media
    http://www.ethreemedia.com

  • #2
    Re: Checking for Windows 98 SE

    Yes there is but I've never done it. SE has a different version number, i.e. 4.XXX.XXX or whatever. Can't remember the specifics right now but I'll check...

    Corey Milner
    Creative Director, Indigo Rose Software

    Comment


    • #3
      Re: Checking for Windows 98 SE

      Corey,

      Apparently, the first version of Windows 98 SE is version # 4.10.2222A, released on 4/23/1999. Assuming this information is accurate, can you tell me how to set up a script that will look for anything prior to version 4.10.2222? That would be mucho helpful.
      Eric Darling
      eThree Media
      http://www.ethreemedia.com

      Comment


      • #4
        Re: Checking for Windows 98 SE

        Eric,

        I don't have a Win98 box to test on, but I posted a DLL that would get a Files Version a while ago. If you tested it on a couple boxes I'm sure you could get the basic info needed.

        Heres the thread
        Posting

        Comment


        • #5
          Re: Checking for Windows 98 SE

          I appreciate that, Worm... Unfortunately, this is one of those last-minute things I need to throw together, and I don't know a single owner of an operational Windows 98 box anymore - I know one person with a 98 SE computer.

          I guess if someone could show me the way to the registry key that stores the OS version number, I can check against that... Any ideas? Hold my hand a little bit, I'm still pretty novice at this.
          Eric Darling
          eThree Media
          http://www.ethreemedia.com

          Comment


          • #6
            Re: Checking for Windows 98 SE

            I have access to 98 boxes at work, I can dig into it first thing in the morning if you don't get any answers.

            Comment


            • #7
              Re: Checking for Windows 98 SE

              <font class="small">Code:</font><hr /><pre>Win98: 4.10
              Win98SE: 4.10.2222 </pre><hr />

              Comment


              • #8
                Re: Checking for Windows 98 SE

                I got the version numbers, but how do I tell AMS where to look for them? In a registry key somewhere? Sorry so clueless on this.
                Eric Darling
                eThree Media
                http://www.ethreemedia.com

                Comment


                • #9
                  Re: Checking for Windows 98 SE

                  Oh yeah now I remember, that's how I did it, a registry key. HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Curr entVersion\ or something, can't remember...

                  Corey Milner
                  Creative Director, Indigo Rose Software

                  Comment


                  • #10
                    Re: Checking for Windows 98 SE

                    OK... I think I've got it, but I would love for you to test this on a Win 98 box if you could in the AM, Worm, and report if it works as it should: (MANY THANKS!)

                    <IR_ACTIONS_LIST>
                    <Action name="Comment">
                    <Type>202</Type>
                    <Function>2</Function>
                    <DTIndentLevel>0</DTIndentLevel>
                    <Enabled>1</Enabled>
                    <ErrorHandling>
                    <UserNotificationMode>2</UserNotificationMode>
                    <CustomErrorMessage/>
                    <OnErrorAction>0</OnErrorAction>
                    <JumpToLabel/>
                    </ErrorHandling>
                    <Comment>This Action Script looks for what version of Windows Media Player is installed, and performs</Comment>
                    </Action>
                    <Action name="Comment">
                    <Type>202</Type>
                    <Function>2</Function>
                    <DTIndentLevel>0</DTIndentLevel>
                    <Enabled>1</Enabled>
                    <ErrorHandling>
                    <UserNotificationMode>2</UserNotificationMode>
                    <CustomErrorMessage/>
                    <OnErrorAction>0</OnErrorAction>
                    <JumpToLabel/>
                    </ErrorHandling>
                    <Comment>certain actions based on user input and the information it finds</Comment>
                    </Action>
                    <Action name="Blank Line">
                    <Type>203</Type>
                    <Function>2</Function>
                    <DTIndentLevel>0</DTIndentLevel>
                    <Enabled>1</Enabled>
                    <ErrorHandling>
                    <UserNotificationMode>2</UserNotificationMode>
                    <CustomErrorMessage/>
                    <OnErrorAction>0</OnErrorAction>
                    <JumpToLabel/>
                    </ErrorHandling>
                    </Action>
                    <Action name="Comment">
                    <Type>202</Type>
                    <Function>2</Function>
                    <DTIndentLevel>0</DTIndentLevel>
                    <Enabled>1</Enabled>
                    <ErrorHandling>
                    <UserNotificationMode>2</UserNotificationMode>
                    <CustomErrorMessage/>
                    <OnErrorAction>0</OnErrorAction>
                    <JumpToLabel/>
                    </ErrorHandling>
                    <Comment>For the purposes of this script, we are ensuring that WMP 9 is installed</Comment>
                    </Action>
                    <Action name="IF">
                    <Type>200</Type>
                    <Function>1</Function>
                    <DTIndentLevel>0</DTIndentLevel>
                    <Enabled>1</Enabled>
                    <ErrorHandling>
                    <UserNotificationMode>0</UserNotificationMode>
                    <CustomErrorMessage/>
                    <OnErrorAction>0</OnErrorAction>
                    <JumpToLabel>CHECK OS</JumpToLabel>
                    </ErrorHandling>
                    <Condition>%MediaPlayerVersion% &amp;lt; 9.0.0.0</Condition>
                    </Action>
                    <Action name="GOTO">
                    <Type>209</Type>
                    <Function>1</Function>
                    <DTIndentLevel>1</DTIndentLevel>
                    <Enabled>1</Enabled>
                    <ErrorHandling>
                    <UserNotificationMode>2</UserNotificationMode>
                    <CustomErrorMessage/>
                    <OnErrorAction>0</OnErrorAction>
                    <JumpToLabel/>
                    </ErrorHandling>
                    <Label>NOTIFY</Label>
                    </Action>
                    <Action name="ELSE">
                    <Type>206</Type>
                    <Function>1</Function>
                    <DTIndentLevel>0</DTIndentLevel>
                    <Enabled>1</Enabled>
                    <ErrorHandling>
                    <UserNotificationMode>2</UserNotificationMode>
                    <CustomErrorMessage/>
                    <OnErrorAction>0</OnErrorAction>
                    <JumpToLabel/>
                    </ErrorHandling>
                    </Action>
                    <Action name="GOTO">
                    <Type>209</Type>
                    <Function>1</Function>
                    <DTIndentLevel>1</DTIndentLevel>
                    <Enabled>1</Enabled>
                    <ErrorHandling>
                    <UserNotificationMode>2</UserNotificationMode>
                    <CustomErrorMessage/>
                    <OnErrorAction>0</OnErrorAction>
                    <JumpToLabel/>
                    </ErrorHandling>
                    <Label>END</Label>
                    </Action>
                    <Action name="END IF">
                    <Type>201</Type>
                    <Function>1</Function>
                    <DTIndentLevel>0</DTIndentLevel>
                    <Enabled>1</Enabled>
                    <ErrorHandling>
                    <UserNotificationMode>2</UserNotificationMode>
                    <CustomErrorMessage/>
                    <OnErrorAction>0</OnErrorAction>
                    <JumpToLabel/>
                    </ErrorHandling>
                    </Action>
                    <Action name="Blank Line">
                    <Type>203</Type>
                    <Function>2</Function>
                    <DTIndentLevel>0</DTIndentLevel>
                    <Enabled>1</Enabled>
                    <ErrorHandling>
                    <UserNotificationMode>2</UserNotificationMode>
                    <CustomErrorMessage/>
                    <OnErrorAction>0</OnErrorAction>
                    <JumpToLabel/>
                    </ErrorHandling>
                    </Action>
                    <Action name="Comment">
                    <Type>202</Type>
                    <Function>2</Function>
                    <DTIndentLevel>0</DTIndentLevel>
                    <Enabled>1</Enabled>
                    <ErrorHandling>
                    <UserNotificationMode>2</UserNotificationMode>
                    <CustomErrorMessage/>
                    <OnErrorAction>0</OnErrorAction>
                    <JumpToLabel/>
                    </ErrorHandling>
                    <Comment>Warn the user that they do not have Windows Media Player version 9 or later installed</Comment>
                    </Action>
                    <Action name="LABEL">
                    <Type>208</Type>
                    <Function>1</Function>
                    <DTIndentLevel>0</DTIndentLevel>
                    <Enabled>1</Enabled>
                    <ErrorHandling>
                    <UserNotificationMode>2</UserNotificationMode>
                    <CustomErrorMessage/>
                    <OnErrorAction>0</OnErrorAction>
                    <JumpToLabel/>
                    </ErrorHandling>
                    <Label>NOTIFY</Label>
                    </Action>
                    <Action name="Message Box">
                    <Type>5</Type>
                    <Function>0</Function>
                    <DTIndentLevel>0</DTIndentLevel>
                    <Enabled>1</Enabled>
                    <ErrorHandling>
                    <UserNotificationMode>2</UserNotificationMode>
                    <CustomErrorMessage/>
                    <OnErrorAction>0</OnErrorAction>
                    <JumpToLabel/>
                    </ErrorHandling>
                    <DialogTitle>Media Player Upgrade Needed</DialogTitle>
                    <DialogMessage>In order to correctly play the video in this project, this computer must have Windows Media Player 9.0 or later installed. Currently, this computer does not have this software installed.

                    Click YES to install now from the CD-ROM.

                    Clicking NO will result in no installation of software, however the video portion of this CD will not play. You may elect to run this CD at a later point in order to install the necessary software. </DialogMessage>
                    <Icon>3</Icon>
                    <Variable>%Result%</Variable>
                    <DialogType>1</DialogType>
                    <DefaultButton>0</DefaultButton>
                    </Action>
                    <Action name="IF">
                    <Type>200</Type>
                    <Function>1</Function>
                    <DTIndentLevel>0</DTIndentLevel>
                    <Enabled>1</Enabled>
                    <ErrorHandling>
                    <UserNotificationMode>2</UserNotificationMode>
                    <CustomErrorMessage/>
                    <OnErrorAction>0</OnErrorAction>
                    <JumpToLabel/>
                    </ErrorHandling>
                    <Condition>%Result% = "Yes"</Condition>
                    </Action>
                    <Action name="GOTO">
                    <Type>209</Type>
                    <Function>1</Function>
                    <DTIndentLevel>1</DTIndentLevel>
                    <Enabled>1</Enabled>
                    <ErrorHandling>
                    <UserNotificationMode>2</UserNotificationMode>
                    <CustomErrorMessage/>
                    <OnErrorAction>0</OnErrorAction>
                    <JumpToLabel/>
                    </ErrorHandling>
                    <Label>CHECK OS</Label>
                    </Action>
                    <Action name="ELSE">
                    <Type>206</Type>
                    <Function>1</Function>
                    <DTIndentLevel>0</DTIndentLevel>
                    <Enabled>1</Enabled>
                    <ErrorHandling>
                    <UserNotificationMode>2</UserNotificationMode>
                    <CustomErrorMessage/>
                    <OnErrorAction>0</OnErrorAction>
                    <JumpToLabel/>
                    </ErrorHandling>
                    </Action>
                    <Action name="GOTO">
                    <Type>209</Type>
                    <Function>1</Function>
                    <DTIndentLevel>1</DTIndentLevel>
                    <Enabled>1</Enabled>
                    <ErrorHandling>
                    <UserNotificationMode>2</UserNotificationMode>
                    <CustomErrorMessage/>
                    <OnErrorAction>0</OnErrorAction>
                    <JumpToLabel/>
                    </ErrorHandling>
                    <Label>END</Label>
                    </Action>
                    <Action name="END IF">
                    <Type>201</Type>
                    <Function>1</Function>
                    <DTIndentLevel>0</DTIndentLevel>
                    <Enabled>1</Enabled>
                    <ErrorHandling>
                    <UserNotificationMode>2</UserNotificationMode>
                    <CustomErrorMessage/>
                    <OnErrorAction>0</OnErrorAction>
                    <JumpToLabel/>
                    </ErrorHandling>
                    </Action>
                    <Action name="Blank Line">
                    <Type>203</Type>
                    <Function>2</Function>
                    <DTIndentLevel>0</DTIndentLevel>
                    <Enabled>1</Enabled>
                    <ErrorHandling>
                    <UserNotificationMode>2</UserNotificationMode>
                    <CustomErrorMessage/>
                    <OnErrorAction>0</OnErrorAction>
                    <JumpToLabel/>
                    </ErrorHandling>
                    </Action>
                    <Action name="Blank Line">
                    <Type>203</Type>
                    <Function>2</Function>
                    <DTIndentLevel>0</DTIndentLevel>
                    <Enabled>1</Enabled>
                    <ErrorHandling>
                    <UserNotificationMode>2</UserNotificationMode>
                    <CustomErrorMessage/>
                    <OnErrorAction>0</OnErrorAction>
                    <JumpToLabel/>
                    </ErrorHandling>
                    </Action>
                    <Action name="LABEL">
                    <Type>208</Type>
                    <Function>1</Function>
                    <DTIndentLevel>0</DTIndentLevel>
                    <Enabled>1</Enabled>
                    <ErrorHandling>
                    <UserNotificationMode>2</UserNotificationMode>
                    <CustomErrorMessage/>
                    <OnErrorAction>0</OnErrorAction>
                    <JumpToLabel/>
                    </ErrorHandling>
                    <Label>CHECK OS</Label>
                    </Action>
                    <Action name="Comment">
                    <Type>202</Type>
                    <Function>2</Function>
                    <DTIndentLevel>0</DTIndentLevel>
                    <Enabled>1</Enabled>
                    <ErrorHandling>
                    <UserNotificationMode>2</UserNotificationMode>
                    <CustomErrorMessage/>
                    <OnErrorAction>0</OnErrorAction>
                    <JumpToLabel/>
                    </ErrorHandling>
                    <Comment>There are two separate versions of the Windows Media Player in version 9</Comment>
                    </Action>
                    <Action name="Comment">
                    <Type>202</Type>
                    <Function>2</Function>
                    <DTIndentLevel>0</DTIndentLevel>
                    <Enabled>1</Enabled>
                    <ErrorHandling>
                    <UserNotificationMode>2</UserNotificationMode>
                    <CustomErrorMessage/>
                    <OnErrorAction>0</OnErrorAction>
                    <JumpToLabel/>
                    </ErrorHandling>
                    <Comment>One is for Windows XP, One is for everything else back to Win 98 SE</Comment>
                    </Action>
                    <Action name="Comment">
                    <Type>202</Type>
                    <Function>2</Function>
                    <DTIndentLevel>0</DTIndentLevel>
                    <Enabled>1</Enabled>
                    <ErrorHandling>
                    <UserNotificationMode>2</UserNotificationMode>
                    <CustomErrorMessage/>
                    <OnErrorAction>0</OnErrorAction>
                    <JumpToLabel/>
                    </ErrorHandling>
                    <Comment>Original Windows 98 OS computers are not able to install WMP 9, so they will be warned</Comment>
                    </Action>
                    <Action name="Blank Line">
                    <Type>203</Type>
                    <Function>2</Function>
                    <DTIndentLevel>0</DTIndentLevel>
                    <Enabled>1</Enabled>
                    <ErrorHandling>
                    <UserNotificationMode>2</UserNotificationMode>
                    <CustomErrorMessage/>
                    <OnErrorAction>0</OnErrorAction>
                    <JumpToLabel/>
                    </ErrorHandling>
                    </Action>
                    <Action name="IF">
                    <Type>200</Type>
                    <Function>1</Function>
                    <DTIndentLevel>0</DTIndentLevel>
                    <Enabled>1</Enabled>
                    <ErrorHandling>
                    <UserNotificationMode>2</UserNotificationMode>
                    <CustomErrorMessage/>
                    <OnErrorAction>0</OnErrorAction>
                    <JumpToLabel/>
                    </ErrorHandling>
                    <Condition>%IsWin98% = "True"</Condition>
                    </Action>
                    <Action name="GOTO">
                    <Type>209</Type>
                    <Function>1</Function>
                    <DTIndentLevel>1</DTIndentLevel>
                    <Enabled>1</Enabled>
                    <ErrorHandling>
                    <UserNotificationMode>2</UserNotificationMode>
                    <CustomErrorMessage/>
                    <OnErrorAction>0</OnErrorAction>
                    <JumpToLabel/>
                    </ErrorHandling>
                    <Label>HANDLE WIN98</Label>
                    </Action>
                    <Action name="END IF">
                    <Type>201</Type>
                    <Function>1</Function>
                    <DTIndentLevel>0</DTIndentLevel>
                    <Enabled>1</Enabled>
                    <ErrorHandling>
                    <UserNotificationMode>2</UserNotificationMode>
                    <CustomErrorMessage/>
                    <OnErrorAction>0</OnErrorAction>
                    <JumpToLabel/>
                    </ErrorHandling>
                    </Action>
                    <Action name="Blank Line">
                    <Type>203</Type>
                    <Function>2</Function>
                    <DTIndentLevel>0</DTIndentLevel>
                    <Enabled>1</Enabled>
                    <ErrorHandling>
                    <UserNotificationMode>2</UserNotificationMode>
                    <CustomErrorMessage/>
                    <OnErrorAction>0</OnErrorAction>
                    <JumpToLabel/>
                    </ErrorHandling>
                    </Action>
                    <Action name="IF">
                    <Type>200</Type>
                    <Function>1</Function>
                    <DTIndentLevel>0</DTIndentLevel>
                    <Enabled>1</Enabled>
                    <ErrorHandling>
                    <UserNotificationMode>2</UserNotificationMode>
                    <CustomErrorMessage/>
                    <OnErrorAction>0</OnErrorAction>
                    <JumpToLabel/>
                    </ErrorHandling>
                    <Condition>%IsWinXP% = "True"</Condition>
                    </Action>
                    <Action name="GOTO">
                    <Type>209</Type>
                    <Function>1</Function>
                    <DTIndentLevel>1</DTIndentLevel>
                    <Enabled>1</Enabled>
                    <ErrorHandling>
                    <UserNotificationMode>2</UserNotificationMode>
                    <CustomErrorMessage/>
                    <OnErrorAction>0</OnErrorAction>
                    <JumpToLabel/>
                    </ErrorHandling>
                    <Label>INSTALL WIN XP</Label>
                    </Action>
                    <Action name="ELSE">
                    <Type>206</Type>
                    <Function>1</Function>
                    <DTIndentLevel>0</DTIndentLevel>
                    <Enabled>1</Enabled>
                    <ErrorHandling>
                    <UserNotificationMode>2</UserNotificationMode>
                    <CustomErrorMessage/>
                    <OnErrorAction>0</OnErrorAction>
                    <JumpToLabel/>
                    </ErrorHandling>
                    </Action>
                    <Action name="GOTO">
                    <Type>209</Type>
                    <Function>1</Function>
                    <DTIndentLevel>1</DTIndentLevel>
                    <Enabled>1</Enabled>
                    <ErrorHandling>
                    <UserNotificationMode>2</UserNotificationMode>
                    <CustomErrorMessage/>
                    <OnErrorAction>0</OnErrorAction>
                    <JumpToLabel/>
                    </ErrorHandling>
                    <Label>INSTALL WIN OTHER</Label>
                    </Action>
                    <Action name="END IF">
                    <Type>201</Type>
                    <Function>1</Function>
                    <DTIndentLevel>0</DTIndentLevel>
                    <Enabled>1</Enabled>
                    <ErrorHandling>
                    <UserNotificationMode>2</UserNotificationMode>
                    <CustomErrorMessage/>
                    <OnErrorAction>0</OnErrorAction>
                    <JumpToLabel/>
                    </ErrorHandling>
                    </Action>
                    <Action name="Blank Line">
                    <Type>203</Type>
                    <Function>2</Function>
                    <DTIndentLevel>0</DTIndentLevel>
                    <Enabled>1</Enabled>
                    <ErrorHandling>
                    <UserNotificationMode>2</UserNotificationMode>
                    <CustomErrorMessage/>
                    <OnErrorAction>0</OnErrorAction>
                    <JumpToLabel/>
                    </ErrorHandling>
                    </Action>
                    <Action name="Comment">
                    <Type>202</Type>
                    <Function>2</Function>
                    <DTIndentLevel>0</DTIndentLevel>
                    <Enabled>1</Enabled>
                    <ErrorHandling>
                    <UserNotificationMode>2</UserNotificationMode>
                    <CustomErrorMessage/>
                    <OnErrorAction>0</OnErrorAction>
                    <JumpToLabel/>
                    </ErrorHandling>
                    <Comment>Installer for Windows XP</Comment>
                    </Action>
                    <Action name="LABEL">
                    <Type>208</Type>
                    <Function>1</Function>
                    <DTIndentLevel>0</DTIndentLevel>
                    <Enabled>1</Enabled>
                    <ErrorHandling>
                    <UserNotificationMode>2</UserNotificationMode>
                    <CustomErrorMessage/>
                    <OnErrorAction>0</OnErrorAction>
                    <JumpToLabel/>
                    </ErrorHandling>
                    <Label>INSTALL WIN XP</Label>
                    </Action>
                    <Action name="Execute">
                    <Type>8</Type>
                    <Function>0</Function>
                    <DTIndentLevel>0</DTIndentLevel>
                    <Enabled>1</Enabled>
                    <ErrorHandling>
                    <UserNotificationMode>2</UserNotificationMode>
                    <CustomErrorMessage/>
                    <OnErrorAction>0</OnErrorAction>
                    <JumpToLabel/>
                    </ErrorHandling>
                    <FileName>%SrcDir%\MPSetupXP.exe</FileName>
                    <CommandLine/>
                    <WorkingDir/>
                    <RunMode>0</RunMode>
                    <WaitForReturn>1</WaitForReturn>
                    </Action>
                    <Action name="GOTO">
                    <Type>209</Type>
                    <Function>1</Function>
                    <DTIndentLevel>0</DTIndentLevel>
                    <Enabled>1</Enabled>
                    <ErrorHandling>
                    <UserNotificationMode>2</UserNotificationMode>
                    <CustomErrorMessage/>
                    <OnErrorAction>0</OnErrorAction>
                    <JumpToLabel/>
                    </ErrorHandling>
                    <Label>END</Label>
                    </Action>
                    <Action name="Blank Line">
                    <Type>203</Type>
                    <Function>2</Function>
                    <DTIndentLevel>0</DTIndentLevel>
                    <Enabled>1</Enabled>
                    <ErrorHandling>
                    <UserNotificationMode>2</UserNotificationMode>
                    <CustomErrorMessage/>
                    <OnErrorAction>0</OnErrorAction>
                    <JumpToLabel/>
                    </ErrorHandling>
                    </Action>
                    <Action name="Comment">
                    <Type>202</Type>
                    <Function>2</Function>
                    <DTIndentLevel>0</DTIndentLevel>
                    <Enabled>1</Enabled>
                    <ErrorHandling>
                    <UserNotificationMode>2</UserNotificationMode>
                    <CustomErrorMessage/>
                    <OnErrorAction>0</OnErrorAction>
                    <JumpToLabel/>
                    </ErrorHandling>
                    <Comment>Installer for Win 98 SE, Win ME, Win NT, Win 2000</Comment>
                    </Action>
                    <Action name="LABEL">
                    <Type>208</Type>
                    <Function>1</Function>
                    <DTIndentLevel>0</DTIndentLevel>
                    <Enabled>1</Enabled>
                    <ErrorHandling>
                    <UserNotificationMode>2</UserNotificationMode>
                    <CustomErrorMessage/>
                    <OnErrorAction>0</OnErrorAction>
                    <JumpToLabel/>
                    </ErrorHandling>
                    <Label>INSTALL WIN OTHER</Label>
                    </Action>
                    <Action name="Execute">
                    <Type>8</Type>
                    <Function>0</Function>
                    <DTIndentLevel>0</DTIndentLevel>
                    <Enabled>1</Enabled>
                    <ErrorHandling>
                    <UserNotificationMode>2</UserNotificationMode>
                    <CustomErrorMessage/>
                    <OnErrorAction>0</OnErrorAction>
                    <JumpToLabel/>
                    </ErrorHandling>
                    <FileName>%SrcDir%\MPSetup.exe</FileName>
                    <CommandLine/>
                    <WorkingDir/>
                    <RunMode>0</RunMode>
                    <WaitForReturn>1</WaitForReturn>
                    </Action>
                    <Action name="GOTO">
                    <Type>209</Type>
                    <Function>1</Function>
                    <DTIndentLevel>0</DTIndentLevel>
                    <Enabled>1</Enabled>
                    <ErrorHandling>
                    <UserNotificationMode>2</UserNotificationMode>
                    <CustomErrorMessage/>
                    <OnErrorAction>0</OnErrorAction>
                    <JumpToLabel/>
                    </ErrorHandling>
                    <Label>END</Label>
                    </Action>
                    <Action name="Blank Line">
                    <Type>203</Type>
                    <Function>2</Function>
                    <DTIndentLevel>0</DTIndentLevel>
                    <Enabled>1</Enabled>
                    <ErrorHandling>
                    <UserNotificationMode>2</UserNotificationMode>
                    <CustomErrorMessage/>
                    <OnErrorAction>0</OnErrorAction>
                    <JumpToLabel/>
                    </ErrorHandling>
                    </Action>
                    <Action name="Comment">
                    <Type>202</Type>
                    <Function>2</Function>
                    <DTIndentLevel>0</DTIndentLevel>
                    <Enabled>1</Enabled>
                    <ErrorHandling>
                    <UserNotificationMode>2</UserNotificationMode>
                    <CustomErrorMessage/>
                    <OnErrorAction>0</OnErrorAction>
                    <JumpToLabel/>
                    </ErrorHandling>
                    <Comment>Windows 98 and earlier are not compatible, so dump out of install</Comment>
                    </Action>
                    <Action name="LABEL">
                    <Type>208</Type>
                    <Function>1</Function>
                    <DTIndentLevel>0</DTIndentLevel>
                    <Enabled>1</Enabled>
                    <ErrorHandling>
                    <UserNotificationMode>2</UserNotificationMode>
                    <CustomErrorMessage/>
                    <OnErrorAction>0</OnErrorAction>
                    <JumpToLabel/>
                    </ErrorHandling>
                    <Label>HANDLE WIN98</Label>
                    </Action>
                    <Action name="Get Value Data">
                    <Type>72</Type>
                    <Function>0</Function>
                    <DTIndentLevel>0</DTIndentLevel>
                    <Enabled>1</Enabled>
                    <ErrorHandling>
                    <UserNotificationMode>0</UserNotificationMode>
                    <CustomErrorMessage/>
                    <OnErrorAction>0</OnErrorAction>
                    <JumpToLabel>CHECK OS</JumpToLabel>
                    </ErrorHandling>
                    <Variable>%RegData%</Variable>
                    <MainKey>3</MainKey>
                    <SubKey>Software\Microsoft\Windows\CurrentVersio n</SubKey>
                    <Value>VersionNumber</Value>
                    <AutoExpand>0</AutoExpand>
                    </Action>
                    <Action name="IF">
                    <Type>200</Type>
                    <Function>1</Function>
                    <DTIndentLevel>0</DTIndentLevel>
                    <Enabled>1</Enabled>
                    <ErrorHandling>
                    <UserNotificationMode>2</UserNotificationMode>
                    <CustomErrorMessage/>
                    <OnErrorAction>0</OnErrorAction>
                    <JumpToLabel/>
                    </ErrorHandling>
                    <Condition>%RegData% &amp;lt; 4.10.2222</Condition>
                    </Action>
                    <Action name="Message Box">
                    <Type>5</Type>
                    <Function>0</Function>
                    <DTIndentLevel>1</DTIndentLevel>
                    <Enabled>1</Enabled>
                    <ErrorHandling>
                    <UserNotificationMode>2</UserNotificationMode>
                    <CustomErrorMessage/>
                    <OnErrorAction>0</OnErrorAction>
                    <JumpToLabel/>
                    </ErrorHandling>
                    <DialogTitle>Incompatible Operating System</DialogTitle>
                    <DialogMessage>Your reported operating system is Windows 98 or earlier.

                    To view the video content of this CD-ROM, you must be running Windows 98 SE (Second Edition) or higher. Please upgrade your operating system and try this CD again.

                    You may still view the other content of the CD, but the video will not play.</DialogMessage>
                    <Icon>2</Icon>
                    <Variable>%Result%</Variable>
                    <DialogType>0</DialogType>
                    <DefaultButton>0</DefaultButton>
                    </Action>
                    <Action name="GOTO">
                    <Type>209</Type>
                    <Function>1</Function>
                    <DTIndentLevel>1</DTIndentLevel>
                    <Enabled>1</Enabled>
                    <ErrorHandling>
                    <UserNotificationMode>2</UserNotificationMode>
                    <CustomErrorMessage/>
                    <OnErrorAction>0</OnErrorAction>
                    <JumpToLabel/>
                    </ErrorHandling>
                    <Label>END</Label>
                    </Action>
                    <Action name="ELSE">
                    <Type>206</Type>
                    <Function>1</Function>
                    <DTIndentLevel>0</DTIndentLevel>
                    <Enabled>1</Enabled>
                    <ErrorHandling>
                    <UserNotificationMode>2</UserNotificationMode>
                    <CustomErrorMessage/>
                    <OnErrorAction>0</OnErrorAction>
                    <JumpToLabel/>
                    </ErrorHandling>
                    </Action>
                    <Action name="GOTO">
                    <Type>209</Type>
                    <Function>1</Function>
                    <DTIndentLevel>1</DTIndentLevel>
                    <Enabled>1</Enabled>
                    <ErrorHandling>
                    <UserNotificationMode>2</UserNotificationMode>
                    <CustomErrorMessage/>
                    <OnErrorAction>0</OnErrorAction>
                    <JumpToLabel/>
                    </ErrorHandling>
                    <Label>INSTALL WIN OTHER</Label>
                    </Action>
                    <Action name="END IF">
                    <Type>201</Type>
                    <Function>1</Function>
                    <DTIndentLevel>0</DTIndentLevel>
                    <Enabled>1</Enabled>
                    <ErrorHandling>
                    <UserNotificationMode>2</UserNotificationMode>
                    <CustomErrorMessage/>
                    <OnErrorAction>0</OnErrorAction>
                    <JumpToLabel/>
                    </ErrorHandling>
                    </Action>
                    <Action name="Blank Line">
                    <Type>203</Type>
                    <Function>2</Function>
                    <DTIndentLevel>0</DTIndentLevel>
                    <Enabled>1</Enabled>
                    <ErrorHandling>
                    <UserNotificationMode>2</UserNotificationMode>
                    <CustomErrorMessage/>
                    <OnErrorAction>0</OnErrorAction>
                    <JumpToLabel/>
                    </ErrorHandling>
                    </Action>
                    <Action name="Comment">
                    <Type>202</Type>
                    <Function>2</Function>
                    <DTIndentLevel>0</DTIndentLevel>
                    <Enabled>1</Enabled>
                    <ErrorHandling>
                    <UserNotificationMode>2</UserNotificationMode>
                    <CustomErrorMessage/>
                    <OnErrorAction>0</OnErrorAction>
                    <JumpToLabel/>
                    </ErrorHandling>
                    <Comment>Exit point of script</Comment>
                    </Action>
                    <Action name="LABEL">
                    <Type>208</Type>
                    <Function>1</Function>
                    <DTIndentLevel>0</DTIndentLevel>
                    <Enabled>1</Enabled>
                    <ErrorHandling>
                    <UserNotificationMode>2</UserNotificationMode>
                    <CustomErrorMessage/>
                    <OnErrorAction>0</OnErrorAction>
                    <JumpToLabel/>
                    </ErrorHandling>
                    <Label>END</Label>
                    </Action>
                    </IR_ACTIONS_LIST>
                    Eric Darling
                    eThree Media
                    http://www.ethreemedia.com

                    Comment


                    • #11
                      Re: Checking for Windows 98 SE


                      I've run this on a Win98 Se (4.10.2222) box, and it offers to install SW - so it recognises SE ok, sorry I don't have access to a Win98 system.

                      Cheers

                      Comment


                      • #12
                        Re: Checking for Windows 98 SE

                        Thanks John-Oh!

                        Anyone with original Win 98 out there?
                        Eric Darling
                        eThree Media
                        http://www.ethreemedia.com

                        Comment


                        • #13
                          Re: Checking for Windows 98 SE

                          Eric,

                          Same boat here, there are no Win98 here, only SE.

                          Comment


                          • #14
                            Re: Checking for Windows 98 SE

                            I have Win98 at home, but it isn't installed at the moment. (I built a new system a short while ago and haven't installed all my operating systems on it yet. I usually use Win98 for flight sims and stuff, since I have an old CH HOTAS setup with gameport connections and there aren't any drivers for programming the throttle and fighterstick buttons in XP...)

                            Are you sure that it will only work on SE? I haven't found anything that doesn't work on a fully updated install of Win98. You might end up segregating the "FE" users for nothing. Perhaps consider displaying a warning in that case, and let the user choose to continue anyway if their system is up to date.

                            BTW, Windows Update makes updating 98 really painless, there's a single "big" update to run that brings you up to date (minus a few critical/security updates). Last time I installed 98 I expected to have to download a hundred separate updates, but it was actually no big deal.
                            --[[ Indigo Rose Software Developer ]]

                            Comment


                            • #15
                              Re: Checking for Windows 98 SE

                              Lorne,

                              Well, Microsoft documents this pretty clearly:
                              Microsoft's Download Page

                              I am taking them at their word. Since I do not have a Windows 98 machine around to test on, I can't say what it would do or look like if you tried to install - probably something of a message similar to the one I've created, but no way to tell for sure.

                              It's unfortunate, but apparently the case. The real problem is that since NO ONE is using Windows 98 "FE" anymore, it's not an issue until a real stubborn dude tries to run the program and gets told he can't see the video unless he upgrades. That'll tick someone off, to be sure.
                              Eric Darling
                              eThree Media
                              http://www.ethreemedia.com

                              Comment

                              Working...
                              X