Announcement

Collapse
No announcement yet.

How do I detect for media player 9 codec?

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

  • How do I detect for media player 9 codec?

    I have decided to use windows media player v9 encoded video files for a project. I want to be able the check if the proper codec is installed and then install the wiMP codec installation package if not. I've learned from other posts that %DoesKeyExist% action will allow one to check for the exisistence of a key but I don't know where to direct it to search for the windows media 9 codec. Is there another/better way to make sure the proper codec is installed? I've spent all day scouring the web looking for answers but no luck. Any help would be greatly appreciated.

  • #2
    Re: How do I detect for media player 9 codec?

    Really could use some help here if anyone knows. Let me know if I need to give more info. Thanks

    Comment


    • #3
      Re: How do I detect for media player 9 codec?

      I would like to know as well. I am looking for a key that would tell you. You could potentially look for the default viewer for .wmv which should look for Windows Media as the default viewer. Then get the version number from what it returns and see if it is version 9 or not.

      But I don't know if that will work. I don't have version 9 loaded.

      Something like this might work.
      %FileLocation% = File.GetDefaultViewer (".wmv")
      %FileInfo% = File.GetInformation (Version, "%FileLocation%")
      %NewString% = String.GetDelimitedString ("%FileInfo%", ".", 0)
      IF (%NewString% >= 9)
      %Result% = Dialog.MessageBox ("Version", "You have Windows Media version...", Ok, Question)
      ELSE
      %Result% = Dialog.MessageBox ("Version", "You have an older version of W...", Ok, Question)
      END IF


      Here is the actions code if you want to cut and paste it onto a button in AMS to check it out.
      <IR_ACTIONS_LIST>
      <Action name="Get Default Viewer">
      <Type>13</Type>
      <Function>0</Function>
      <DTIndentLevel>0</DTIndentLevel>
      <Enabled>1</Enabled>
      <ErrorHandling>
      <UserNotificationMode>2</UserNotificationMode>
      <CustomErrorMessage/>
      <OnErrorAction>0</OnErrorAction>
      <JumpToLabel/>
      </ErrorHandling>
      <Variable>%FileLocation%</Variable>
      <FileExtension>.wmv</FileExtension>
      </Action>
      <Action name="Get Information">
      <Type>14</Type>
      <Function>0</Function>
      <DTIndentLevel>0</DTIndentLevel>
      <Enabled>1</Enabled>
      <ErrorHandling>
      <UserNotificationMode>2</UserNotificationMode>
      <CustomErrorMessage/>
      <OnErrorAction>0</OnErrorAction>
      <JumpToLabel/>
      </ErrorHandling>
      <FileInformationToCollect>0</FileInformationToCollect>
      <Variable>%FileInfo%</Variable>
      <FileName>%FileLocation%</FileName>
      </Action>
      <Action name="Get Delimited String">
      <Type>64</Type>
      <Function>0</Function>
      <DTIndentLevel>0</DTIndentLevel>
      <Enabled>1</Enabled>
      <ErrorHandling>
      <UserNotificationMode>2</UserNotificationMode>
      <CustomErrorMessage/>
      <OnErrorAction>0</OnErrorAction>
      <JumpToLabel/>
      </ErrorHandling>
      <Variable>%NewString%</Variable>
      <Source>%FileInfo%</Source>
      <Delimiter>.</Delimiter>
      <ItemIndex>0</ItemIndex>
      </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>%NewString% &amp;gt;= 9</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>Version</DialogTitle>
      <DialogMessage>You have Windows Media version %NewString% or greater.</DialogMessage>
      <Icon>3</Icon>
      <Variable>%Result%</Variable>
      <DialogType>0</DialogType>
      <DefaultButton>0</DefaultButton>
      </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="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>Version</DialogTitle>
      <DialogMessage>You have an older version of Windows Media Player. Your version is %NewString%</DialogMessage>
      <Icon>3</Icon>
      <Variable>%Result%</Variable>
      <DialogType>0</DialogType>
      <DefaultButton>0</DefaultButton>
      </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>
      </IR_ACTIONS_LIST>
      TJ-Tigger
      "A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
      "Draco dormiens nunquam titillandus."
      Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine

      Comment


      • #4
        Re: How do I detect for media player 9 codec?

        Thanks for the reply Tigger. Your script would get the version of media player or whatever the default player is for .WMV right? There is already a variable
        %MediaPlayerVersion% that does the same thing right?

        Comment


        • #5
          Re: How do I detect for media player 9 codec?

          I guess, I didn't look that far. I went the hard way around it. But you could do the same thing with that variable. I figured that if version 9 were installed of Media Player, then the codec should be installed.
          TJ-Tigger
          "A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
          "Draco dormiens nunquam titillandus."
          Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine

          Comment


          • #6
            Re: How do I detect for media player 9 codec?

            I agree. If version is 9 then certainly codec will be present. Many people are installing 9 just for the codecs and then using 7.1 to play their content too though so some which indicate as version 7.1 will also have 9 codecs.

            I like the way you approach problems Tigger, creativity is just as important as elegance when it comes to making software that works. Actually probably *more* important... [img]/ubbthreads/images/icons/smile.gif[/img]

            Corey Milner
            Creative Director, Indigo Rose Software

            Comment


            • #7
              Re: How do I detect for media player 9 codec?

              What if they DONT have the player 9 codec? How do I install it?

              Roy

              Comment


              • #8
                Re: How do I detect for media player 9 codec?

                That would be info you need to get from the microsoft site, they probably have a free player distribution arrangement you need to sign up for or something like that...

                Corey Milner
                Creative Director, Indigo Rose Software

                Comment


                • #9
                  Re: How do I detect for media player 9 codec?

                  I found a temporary workaround for my problem. I just detect if their version of MP is less than 9 and set the MP requirement to 7.1.

                  IF (%MediaPlayerVersion% < 9.)

                  %Result% = Dialog.MessageBox ("Needed media components not found", "In order to correctly play the...", Ok|Cancel, Question)

                  IF ( %Result% = OK)
                  File.Execute ("%SrcDir%\v9codec.exe", "", Continue)
                  END IF

                  END IF

                  The problem for 7.1 users is that everytime they put the CD in it will ask them for permission to install the codecs. Is there a way to save a variable somewhere on their system that I could use to tell if they have already used the CD?

                  Comment


                  • #10
                    Re: How do I detect for media player 9 codec?

                    Yep that's easy, just use a REGISTRY action to write a registry key...

                    Corey Milner
                    Creative Director, Indigo Rose Software

                    Comment


                    • #11
                      Re: How do I detect for media player 9 codec?

                      Corey,

                      I'm not real bright so could you help me out by pointing me to a good tutorial that would explain what I need to know about writing a Register key? Appreciate the help.

                      Comment


                      • #12
                        Re: How do I detect for media player 9 codec?

                        In the online help, under Command Reference / Actions / Examples / Basic:

                        Setting a Registry Value

                        Under Command Reference / Actions / Examples / Advanced:

                        Storing information in the Registry
                        --[[ Indigo Rose Software Developer ]]

                        Comment


                        • #13
                          Re: How do I detect for media player 9 codec?

                          Hey Lorne,

                          Would you recommend agains actually creating a new registry key in the HKEY_CURRENT_USER\Software section as such:

                          Registry.CreateKey ("HKEY_CURRENT_USER\Software\VCC\WinMedia9CodecIns talled")

                          Then check if that key exists to determine whether or not to take an installation action:

                          %DoesKeyExist% = Registry.DoesKeyExist ("HKEY_CURRENT_USER\Software\VCC\WinMedia9CodecIns talled")

                          I think this is a great way to tackle this subject.
                          Eric Darling
                          eThree Media
                          http://www.ethreemedia.com

                          Comment


                          • #14
                            Re: How do I detect for media player 9 codec?

                            Sure, you could do that. Or just create a value by the same name, and set it to either 1 or 0.
                            --[[ Indigo Rose Software Developer ]]

                            Comment


                            • #15
                              Re: How do I detect for media player 9 codec?

                              Anyone want to take a shot at testing this code: (Action script follows display code) Let me know about any glaring errors.
                              ------------------------------------------------
                              // This Action Script looks for what version of Windows Media Player is installed, and performs
                              // certain actions based on user input and the information it finds

                              // For the purposes of this script, we are ensuring that WMP 9 is installed
                              IF (%MediaPlayerVersion% < 9.0.0.0)
                              %DoesKeyExist% = Registry.DoesKeyExist ("HKEY_CURRENT_USER\Software\VCC\WinMedia9CodecIns talled")
                              IF (%DoesKeyExist% = "True")
                              GOTO ("END")
                              END IF
                              GOTO ("NOTIFY")
                              ELSE
                              GOTO ("END")
                              END IF

                              // Warn the user that they do not have Windows Media Player version 9 or later installed
                              NOTIFY
                              %Result% = Dialog.MessageBox ("Media Player Upgrade Needed", "In order to correctly play the...", Yes|No, Question)
                              IF (%Result% = "Yes")
                              %Result% = Dialog.MessageBox ("After Installation", "Following installation, this p...", Ok, Information)
                              GOTO ("CHECK OS")
                              ELSE
                              GOTO ("END")
                              END IF


                              CHECK OS
                              // There are two separate versions of the Windows Media Player in version 9
                              // One is for Windows XP, One is for everything else back to Win 98 SE
                              // Original Windows 98 OS computers are not able to install WMP 9, so they will be warned

                              IF (%IsWin98% = "True")
                              GOTO ("HANDLE WIN98")
                              END IF

                              IF (%IsWinME% = "True")
                              GOTO ("INSTALL WIN OTHER")
                              END IF

                              IF (%IsWin2000% = "True")
                              GOTO ("INSTALL WIN OTHER")
                              END IF

                              IF (%IsWinNT4% = "True" OR %IsWinNT3% = "True")
                              GOTO ("HANDLE NT")
                              END IF

                              IF (%IsWinXP% = "True")
                              GOTO ("INSTALL WIN XP")
                              END IF

                              // Installer for Windows XP
                              INSTALL WIN XP
                              File.Execute ("%SrcDir%\MPSetupXP.exe", "", Wait)
                              GOTO ("FINISH")

                              // Installer for Win 98 SE, Win ME, Win NT, Win 2000
                              INSTALL WIN OTHER
                              File.Execute ("%SrcDir%\MPSetup.exe", "", Wait)
                              GOTO ("FINISH")

                              // Windows 98 and earlier are not compatible with the player, so give them the bad news
                              HANDLE WIN98
                              %RegData% = Registry.GetValueData ("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Cu rrentVersion", "VersionNumber")
                              IF (%RegData% <= 4.10.1998)
                              %Result% = Dialog.MessageBox ("Windows 98 Notice", "Your reported operating system...", Ok, Information)
                              GOTO ("END")
                              ELSE
                              GOTO ("INSTALL WIN OTHER")
                              END IF

                              // Snoop to find version of Windows Media Player
                              HANDLE NT
                              IF (%MediaPlayerVersion% < 6.4.0.0)
                              %Result% = Dialog.MessageBox ("Upgrade Windows Media Player", "Windows Media Player 6.4 or la...", Ok, Question)
                              GOTO ("END")
                              END IF
                              IF (%MediaPlayerVersion% < 7.0.0.0)
                              File.Execute ("%SrcDir%\wmv9VCMsetup.exe", "", Wait)
                              Registry.CreateKey ("HKEY_CURRENT_USER\Software\VCC\WinMedia9CodecIns talled")
                              GOTO ("FINISH")
                              END IF
                              IF (%MediaPlayerVersion% >= 7.0.0.0)
                              File.Execute ("%SrcDir%\WM9Codecs.exe", "", Wait)
                              Registry.CreateKey ("HKEY_CURRENT_USER\Software\VCC\WinMedia9CodecIns talled")
                              GOTO ("FINISH")
                              END IF

                              // Finish protocol to restart project based on restart.exe
                              FINISH
                              File.Execute ("%SrcDir%\restart.exe", "", Continue)
                              GOTO ("DUMP")

                              // Move ahead with the program
                              END
                              Page.Jump ("Start")

                              // DUMP OUT AFTER INSTALL
                              DUMP
                              --------------------------------------
                              <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="Does Key Exist">
                              <Type>70</Type>
                              <Function>0</Function>
                              <DTIndentLevel>1</DTIndentLevel>
                              <Enabled>1</Enabled>
                              <ErrorHandling>
                              <UserNotificationMode>2</UserNotificationMode>
                              <CustomErrorMessage/>
                              <OnErrorAction>0</OnErrorAction>
                              <JumpToLabel/>
                              </ErrorHandling>
                              <Variable>%DoesKeyExist%</Variable>
                              <MainKey>2</MainKey>
                              <SubKey>Software\VCC\WinMedia9CodecInstalled</SubKey>
                              </Action>
                              <Action name="IF">
                              <Type>200</Type>
                              <Function>1</Function>
                              <DTIndentLevel>1</DTIndentLevel>
                              <Enabled>1</Enabled>
                              <ErrorHandling>
                              <UserNotificationMode>2</UserNotificationMode>
                              <CustomErrorMessage/>
                              <OnErrorAction>0</OnErrorAction>
                              <JumpToLabel/>
                              </ErrorHandling>
                              <Condition>%DoesKeyExist% = "True"</Condition>
                              </Action>
                              <Action name="GOTO">
                              <Type>209</Type>
                              <Function>1</Function>
                              <DTIndentLevel>2</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>1</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>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="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>After Installation</DialogTitle>
                              <DialogMessage>Following installation, this project will restart automatically. If you experience playback problems, please quit the application and start it again.</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>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>%IsWinME% = "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 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="IF">
                              <Type>200</Type>
                              <Function>1</Function>
                              <DTIndentLevel>0</DTIndentLevel>
                              <Enabled>1</Enabled>
                              <ErrorHandling>
                              <UserNotificationMode>2</UserNotificationMode>
                              <CustomErrorMessage/>
                              <OnErrorAction>0</OnErrorAction>
                              <JumpToLabel/>
                              </ErrorHandling>
                              <Condition>%IsWin2000% = "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 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="IF">
                              <Type>200</Type>
                              <Function>1</Function>
                              <DTIndentLevel>0</DTIndentLevel>
                              <Enabled>1</Enabled>
                              <ErrorHandling>
                              <UserNotificationMode>2</UserNotificationMode>
                              <CustomErrorMessage/>
                              <OnErrorAction>0</OnErrorAction>
                              <JumpToLabel/>
                              </ErrorHandling>
                              <Condition>%IsWinNT4% = "True" OR %IsWinNT3% = "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 NT</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="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>FINISH</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>FINISH</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 with the player, so give them the bad news</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.1998</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>Windows 98 Notice</DialogTitle>
                              <DialogMessage>Your reported operating system is Windows 98. The video encoded on this CD-ROM is in Windows Media version 9, which is incompatible with this operating system.

                              To view the video content of this CD-ROM, you must upgrade your operating system to Windows 98 SE or higher, and then run this CD-ROM 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>Snoop to find version of Windows Media Player</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 NT</Label>
                              </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>%MediaPlayerVersion% &amp;lt; 6.4.0.0</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>Upgrade Windows Media Player</DialogTitle>
                              <DialogMessage>Windows Media Player 6.4 or later is required to install the version 9 codecs. Please upgrade or install Windows Media Player at http://www.microsoft.com/mediaplayer

                              The video portion of this presentation will not display properly until you have upgraded the software.</DialogMessage>
                              <Icon>3</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="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="IF">
                              <Type>200</Type>
                              <Function>1</Function>
                              <DTIndentLevel>0</DTIndentLevel>
                              <Enabled>1</Enabled>
                              <ErrorHandling>
                              <UserNotificationMode>2</UserNotificationMode>
                              <CustomErrorMessage/>
                              <OnErrorAction>0</OnErrorAction>
                              <JumpToLabel/>
                              </ErrorHandling>
                              <Condition>%MediaPlayerVersion% &amp;lt; 7.0.0.0</Condition>
                              </Action>
                              <Action name="Execute">
                              <Type>8</Type>
                              <Function>0</Function>
                              <DTIndentLevel>1</DTIndentLevel>
                              <Enabled>1</Enabled>
                              <ErrorHandling>
                              <UserNotificationMode>2</UserNotificationMode>
                              <CustomErrorMessage/>
                              <OnErrorAction>0</OnErrorAction>
                              <JumpToLabel/>
                              </ErrorHandling>
                              <FileName>%SrcDir%\wmv9VCMsetup.exe</FileName>
                              <CommandLine/>
                              <WorkingDir/>
                              <RunMode>0</RunMode>
                              <WaitForReturn>1</WaitForReturn>
                              </Action>
                              <Action name="Create Key">
                              <Type>9</Type>
                              <Function>0</Function>
                              <DTIndentLevel>1</DTIndentLevel>
                              <Enabled>1</Enabled>
                              <ErrorHandling>
                              <UserNotificationMode>2</UserNotificationMode>
                              <CustomErrorMessage/>
                              <OnErrorAction>0</OnErrorAction>
                              <JumpToLabel/>
                              </ErrorHandling>
                              <MainKey>2</MainKey>
                              <SubKey>Software\VCC\WinMedia9CodecInstalled</SubKey>
                              </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>FINISH</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="IF">
                              <Type>200</Type>
                              <Function>1</Function>
                              <DTIndentLevel>0</DTIndentLevel>
                              <Enabled>1</Enabled>
                              <ErrorHandling>
                              <UserNotificationMode>2</UserNotificationMode>
                              <CustomErrorMessage/>
                              <OnErrorAction>0</OnErrorAction>
                              <JumpToLabel/>
                              </ErrorHandling>
                              <Condition>%MediaPlayerVersion% &amp;gt;= 7.0.0.0</Condition>
                              </Action>
                              <Action name="Execute">
                              <Type>8</Type>
                              <Function>0</Function>
                              <DTIndentLevel>1</DTIndentLevel>
                              <Enabled>1</Enabled>
                              <ErrorHandling>
                              <UserNotificationMode>2</UserNotificationMode>
                              <CustomErrorMessage/>
                              <OnErrorAction>0</OnErrorAction>
                              <JumpToLabel/>
                              </ErrorHandling>
                              <FileName>%SrcDir%\WM9Codecs.exe</FileName>
                              <CommandLine/>
                              <WorkingDir/>
                              <RunMode>0</RunMode>
                              <WaitForReturn>1</WaitForReturn>
                              </Action>
                              <Action name="Create Key">
                              <Type>9</Type>
                              <Function>0</Function>
                              <DTIndentLevel>1</DTIndentLevel>
                              <Enabled>1</Enabled>
                              <ErrorHandling>
                              <UserNotificationMode>2</UserNotificationMode>
                              <CustomErrorMessage/>
                              <OnErrorAction>0</OnErrorAction>
                              <JumpToLabel/>
                              </ErrorHandling>
                              <MainKey>2</MainKey>
                              <SubKey>Software\VCC\WinMedia9CodecInstalled</SubKey>
                              </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>FINISH</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>Finish protocol to restart project based on restart.exe</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>FINISH</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%\restart.exe</FileName>
                              <CommandLine/>
                              <WorkingDir/>
                              <RunMode>0</RunMode>
                              <WaitForReturn>0</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>DUMP</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>Move ahead with the program</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>
                              <Action name="Jump">
                              <Type>1</Type>
                              <Function>0</Function>
                              <DTIndentLevel>0</DTIndentLevel>
                              <Enabled>1</Enabled>
                              <ErrorHandling>
                              <UserNotificationMode>2</UserNotificationMode>
                              <CustomErrorMessage/>
                              <OnErrorAction>0</OnErrorAction>
                              <JumpToLabel/>
                              </ErrorHandling>
                              <PageName>Start</PageName>
                              </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>DUMP OUT AFTER 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>DUMP</Label>
                              </Action>
                              </IR_ACTIONS_LIST>
                              Eric Darling
                              eThree Media
                              http://www.ethreemedia.com

                              Comment

                              Working...
                              X