Most of this code works correctly. However, the section that is supposed to bring up a dialog box if Acrobat Reader is not found and offer to search for the full version is not quite right(er, it's not working). Would someone look at this and show me where the error is, or attach the corrected code?
Thanks
<IR_ACTIONS_LIST>
- <Action name="Set Value">
<Type>6</Type>
<Function>0</Function>
<DTIndentLevel>0</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Variable>%CRCs%</Variable>
<Value />
<Evaluate>0</Evaluate>
</Action>
- <Action name="Search">
<Type>18</Type>
<Function>0</Function>
<DTIndentLevel>0</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Variable>%AcroVar%</Variable>
<Delimiter>;;</Delimiter>
<FileName>AcroRd32.exe</FileName>
<LocalFixedDrives>1</LocalFixedDrives>
<RemoteDrives>0</RemoteDrives>
<RemovableDrives>1</RemovableDrives>
<CDROMDrives>1</CDROMDrives>
<SpecificDirectoriesDrives>1</SpecificDirectoriesDrives>
<CustomDirectoriesDrives>C:\Program Files\Adobe</CustomDirectoriesDrives>
<RecurseCustom>0</RecurseCustom>
<DialogTitle />
<DialogText>Searching for file...</DialogText>
<ShowDialog>1</ShowDialog>
</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>%AcroVar% != ""</Condition>
</Action>
- <Action name="Count Delimited Strings">
<Type>63</Type>
<Function>0</Function>
<DTIndentLevel>1</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Variable>%Total%</Variable>
<Source>%AcroVar%</Source>
<Delimiter>;;</Delimiter>
</Action>
- <Action name="Set Value">
<Type>6</Type>
<Function>0</Function>
<DTIndentLevel>1</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Variable>%Count%</Variable>
<Value>0</Value>
<Evaluate>0</Evaluate>
</Action>
- <Action name="Set Value">
<Type>6</Type>
<Function>0</Function>
<DTIndentLevel>1</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Variable>%Found%</Variable>
<Value>FALSE</Value>
<Evaluate>0</Evaluate>
</Action>
- <Action name="WHILE">
<Type>204</Type>
<Function>1</Function>
<DTIndentLevel>1</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Condition>(%Count% < %Total%) AND (%Found% = "FALSE")</Condition>
</Action>
- <Action name="Get Delimited String">
<Type>64</Type>
<Function>0</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Variable>%CurrFile%</Variable>
<Source>%AcroVar%</Source>
<Delimiter>;;</Delimiter>
<ItemIndex>%Count%</ItemIndex>
</Action>
- <Action name="Get Information">
<Type>14</Type>
<Function>0</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>0</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<FileInformationToCollect>1</FileInformationToCollect>
<Variable>%FileCRC%</Variable>
<FileName>%CurrFile%</FileName>
</Action>
- <Action name="Find">
<Type>21</Type>
<Function>0</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Variable>%FoundPos%</Variable>
<SearchIn>%CRCs%</SearchIn>
<SearchFor>%FileCRC%</SearchFor>
<StartAtPosition>0</StartAtPosition>
<SearchDirection>0</SearchDirection>
<CaseSensitive>0</CaseSensitive>
</Action>
- <Action name="IF">
<Type>200</Type>
<Function>1</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Condition>%FoundPos% != -1</Condition>
</Action>
- <Action name="Set Value">
<Type>6</Type>
<Function>0</Function>
<DTIndentLevel>3</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Variable>%Found%</Variable>
<Value>TRUE</Value>
<Evaluate>0</Evaluate>
</Action>
- <Action name="END IF">
<Type>201</Type>
<Function>1</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
</Action>
- <Action name="Set Value">
<Type>6</Type>
<Function>0</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Variable>%Count%</Variable>
<Value>%Count% + 1</Value>
<Evaluate>1</Evaluate>
</Action>
- <Action name="END WHILE">
<Type>205</Type>
<Function>1</Function>
<DTIndentLevel>1</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>1</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Condition>%Found% = "TRUE"</Condition>
</Action>
- <Action name="Get Information">
<Type>14</Type>
<Function>0</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>0</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<FileInformationToCollect>0</FileInformationToCollect>
<Variable>%AcroVar%</Variable>
<FileName>%CurrFile%</FileName>
</Action>
- <Action name="ELSE">
<Type>206</Type>
<Function>1</Function>
<DTIndentLevel>1</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
</Action>
- <Action name="Set Value">
<Type>6</Type>
<Function>0</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Variable>%AcroVar%</Variable>
<Value>False</Value>
<Evaluate>0</Evaluate>
</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="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="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>((%AcroVar% = False))</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>Reader not Found</DialogTitle>
<DialogMessage>Acrobat reader was not found, would you like to search for the full Acrobat version?</DialogMessage>
<Icon>3</Icon>
<Variable>%FullVersion%</Variable>
<DialogType>1</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>
- <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>((%FullVersion% = Yes))</Condition>
</Action>
- <Action name="Set Value">
<Type>6</Type>
<Function>0</Function>
<DTIndentLevel>1</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Variable>%CRCs%</Variable>
<Value />
<Evaluate>0</Evaluate>
</Action>
- <Action name="Search">
<Type>18</Type>
<Function>0</Function>
<DTIndentLevel>1</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Variable>%AcroVar%</Variable>
<Delimiter>;;</Delimiter>
<FileName>Acrobat.exe</FileName>
<LocalFixedDrives>1</LocalFixedDrives>
<RemoteDrives>0</RemoteDrives>
<RemovableDrives>1</RemovableDrives>
<CDROMDrives>1</CDROMDrives>
<SpecificDirectoriesDrives>1</SpecificDirectoriesDrives>
<CustomDirectoriesDrives>C:\Program Files\Adobe</CustomDirectoriesDrives>
<RecurseCustom>0</RecurseCustom>
<DialogTitle />
<DialogText>Searching for file...</DialogText>
<ShowDialog>1</ShowDialog>
</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>%AcroVar% != ""</Condition>
</Action>
- <Action name="Count Delimited Strings">
<Type>63</Type>
<Function>0</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Variable>%Total%</Variable>
<Source>%AcroVar%</Source>
<Delimiter>;;</Delimiter>
</Action>
- <Action name="Set Value">
<Type>6</Type>
<Function>0</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Variable>%Count%</Variable>
<Value>0</Value>
<Evaluate>0</Evaluate>
</Action>
- <Action name="Set Value">
<Type>6</Type>
<Function>0</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Variable>%Found%</Variable>
<Value>FALSE</Value>
<Evaluate>0</Evaluate>
</Action>
- <Action name="WHILE">
<Type>204</Type>
<Function>1</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Condition>(%Count% < %Total%) AND (%Found% = "FALSE")</Condition>
</Action>
- <Action name="Get Delimited String">
<Type>64</Type>
<Function>0</Function>
<DTIndentLevel>3</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Variable>%CurrFile%</Variable>
<Source>%AcroVar%</Source>
<Delimiter>;;</Delimiter>
<ItemIndex>%Count%</ItemIndex>
</Action>
- <Action name="Get Information">
<Type>14</Type>
<Function>0</Function>
<DTIndentLevel>3</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>0</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<FileInformationToCollect>1</FileInformationToCollect>
<Variable>%FileCRC%</Variable>
<FileName>%CurrFile%</FileName>
</Action>
- <Action name="Find">
<Type>21</Type>
<Function>0</Function>
<DTIndentLevel>3</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Variable>%FoundPos%</Variable>
<SearchIn>%CRCs%</SearchIn>
<SearchFor>%FileCRC%</SearchFor>
<StartAtPosition>0</StartAtPosition>
<SearchDirection>0</SearchDirection>
<CaseSensitive>0</CaseSensitive>
</Action>
- <Action name="IF">
<Type>200</Type>
<Function>1</Function>
<DTIndentLevel>3</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Condition>%FoundPos% != -1</Condition>
</Action>
- <Action name="Set Value">
<Type>6</Type>
<Function>0</Function>
<DTIndentLevel>4</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Variable>%Found%</Variable>
<Value>TRUE</Value>
<Evaluate>0</Evaluate>
</Action>
- <Action name="END IF">
<Type>201</Type>
<Function>1</Function>
<DTIndentLevel>3</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
</Action>
- <Action name="Set Value">
<Type>6</Type>
<Function>0</Function>
<DTIndentLevel>3</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Variable>%Count%</Variable>
<Value>%Count% + 1</Value>
<Evaluate>1</Evaluate>
</Action>
- <Action name="END WHILE">
<Type>205</Type>
<Function>1</Function>
<DTIndentLevel>2</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>2</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Condition>%Found% = "TRUE"</Condition>
</Action>
- <Action name="Get Information">
<Type>14</Type>
<Function>0</Function>
<DTIndentLevel>3</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>0</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<FileInformationToCollect>0</FileInformationToCollect>
<Variable>%AcroVar%</Variable>
<FileName>%CurrFile%</FileName>
</Action>
- <Action name="ELSE">
<Type>206</Type>
<Function>1</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
</Action>
- <Action name="Set Value">
<Type>6</Type>
<Function>0</Function>
<DTIndentLevel>3</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Variable>%AcroVar%</Variable>
<Value>False</Value>
<Evaluate>0</Evaluate>
</Action>
- <Action name="END IF">
<Type>201</Type>
<Function>1</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
</Action>
- <Action name="ELSE">
<Type>206</Type>
<Function>1</Function>
<DTIndentLevel>1</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>2</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<DialogTitle>Cannot Locate File</DialogTitle>
<DialogMessage>Sorry, both Acrobat reader and the full Acrobat version could not be found. Would you like to manually search for them?</DialogMessage>
<Icon>0</Icon>
<Variable>%Result%</Variable>
<DialogType>2</DialogType>
<DefaultButton>0</DefaultButton>
</Action>
- <Action name="IF">
<Type>200</Type>
<Function>1</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Condition>%Result% = OK</Condition>
</Action>
- <Action name="File Browse">
<Type>54</Type>
<Function>0</Function>
<DTIndentLevel>3</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<DefaultDirectory>%MyDocumentsDir%</DefaultDirectory>
<DefaultFileName>Acrobat.exe</DefaultFileName>
<DefaultFileExtenstion>*.exe</DefaultFileExtenstion>
<FileFilter>All Files (*.*)|*.*</FileFilter>
<AllowMultipleSelect>0</AllowMultipleSelect>
<FileMustExist>1</FileMustExist>
<Variable>%AcroVar%</Variable>
<DialogTitle>Cannot Locate File</DialogTitle>
<DialogType>0</DialogType>
</Action>
- <Action name="END IF">
<Type>201</Type>
<Function>1</Function>
<DTIndentLevel>2</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>2</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Condition>%Result% = OK</Condition>
</Action>
- <Action name="Set Value">
<Type>6</Type>
<Function>0</Function>
<DTIndentLevel>3</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Variable>%AcroVar%</Variable>
<Value>False</Value>
<Evaluate>0</Evaluate>
</Action>
- <Action name="END IF">
<Type>201</Type>
<Function>1</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
</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="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>((%AcroVar% > 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>Acrobat Version</DialogTitle>
<DialogMessage>You have version %AcroVar% installed</DialogMessage>
<Icon>1</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>
- <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>((%AcroVar% < 1))</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>Acrobat Version</DialogTitle>
<DialogMessage>Sorry you do not have Acrobat Installed. It is reccomended that you click the button below and install Acrobat</DialogMessage>
<Icon>1</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>
Thanks
<IR_ACTIONS_LIST>
- <Action name="Set Value">
<Type>6</Type>
<Function>0</Function>
<DTIndentLevel>0</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Variable>%CRCs%</Variable>
<Value />
<Evaluate>0</Evaluate>
</Action>
- <Action name="Search">
<Type>18</Type>
<Function>0</Function>
<DTIndentLevel>0</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Variable>%AcroVar%</Variable>
<Delimiter>;;</Delimiter>
<FileName>AcroRd32.exe</FileName>
<LocalFixedDrives>1</LocalFixedDrives>
<RemoteDrives>0</RemoteDrives>
<RemovableDrives>1</RemovableDrives>
<CDROMDrives>1</CDROMDrives>
<SpecificDirectoriesDrives>1</SpecificDirectoriesDrives>
<CustomDirectoriesDrives>C:\Program Files\Adobe</CustomDirectoriesDrives>
<RecurseCustom>0</RecurseCustom>
<DialogTitle />
<DialogText>Searching for file...</DialogText>
<ShowDialog>1</ShowDialog>
</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>%AcroVar% != ""</Condition>
</Action>
- <Action name="Count Delimited Strings">
<Type>63</Type>
<Function>0</Function>
<DTIndentLevel>1</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Variable>%Total%</Variable>
<Source>%AcroVar%</Source>
<Delimiter>;;</Delimiter>
</Action>
- <Action name="Set Value">
<Type>6</Type>
<Function>0</Function>
<DTIndentLevel>1</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Variable>%Count%</Variable>
<Value>0</Value>
<Evaluate>0</Evaluate>
</Action>
- <Action name="Set Value">
<Type>6</Type>
<Function>0</Function>
<DTIndentLevel>1</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Variable>%Found%</Variable>
<Value>FALSE</Value>
<Evaluate>0</Evaluate>
</Action>
- <Action name="WHILE">
<Type>204</Type>
<Function>1</Function>
<DTIndentLevel>1</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Condition>(%Count% < %Total%) AND (%Found% = "FALSE")</Condition>
</Action>
- <Action name="Get Delimited String">
<Type>64</Type>
<Function>0</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Variable>%CurrFile%</Variable>
<Source>%AcroVar%</Source>
<Delimiter>;;</Delimiter>
<ItemIndex>%Count%</ItemIndex>
</Action>
- <Action name="Get Information">
<Type>14</Type>
<Function>0</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>0</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<FileInformationToCollect>1</FileInformationToCollect>
<Variable>%FileCRC%</Variable>
<FileName>%CurrFile%</FileName>
</Action>
- <Action name="Find">
<Type>21</Type>
<Function>0</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Variable>%FoundPos%</Variable>
<SearchIn>%CRCs%</SearchIn>
<SearchFor>%FileCRC%</SearchFor>
<StartAtPosition>0</StartAtPosition>
<SearchDirection>0</SearchDirection>
<CaseSensitive>0</CaseSensitive>
</Action>
- <Action name="IF">
<Type>200</Type>
<Function>1</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Condition>%FoundPos% != -1</Condition>
</Action>
- <Action name="Set Value">
<Type>6</Type>
<Function>0</Function>
<DTIndentLevel>3</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Variable>%Found%</Variable>
<Value>TRUE</Value>
<Evaluate>0</Evaluate>
</Action>
- <Action name="END IF">
<Type>201</Type>
<Function>1</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
</Action>
- <Action name="Set Value">
<Type>6</Type>
<Function>0</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Variable>%Count%</Variable>
<Value>%Count% + 1</Value>
<Evaluate>1</Evaluate>
</Action>
- <Action name="END WHILE">
<Type>205</Type>
<Function>1</Function>
<DTIndentLevel>1</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>1</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Condition>%Found% = "TRUE"</Condition>
</Action>
- <Action name="Get Information">
<Type>14</Type>
<Function>0</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>0</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<FileInformationToCollect>0</FileInformationToCollect>
<Variable>%AcroVar%</Variable>
<FileName>%CurrFile%</FileName>
</Action>
- <Action name="ELSE">
<Type>206</Type>
<Function>1</Function>
<DTIndentLevel>1</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
</Action>
- <Action name="Set Value">
<Type>6</Type>
<Function>0</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Variable>%AcroVar%</Variable>
<Value>False</Value>
<Evaluate>0</Evaluate>
</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="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="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>((%AcroVar% = False))</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>Reader not Found</DialogTitle>
<DialogMessage>Acrobat reader was not found, would you like to search for the full Acrobat version?</DialogMessage>
<Icon>3</Icon>
<Variable>%FullVersion%</Variable>
<DialogType>1</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>
- <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>((%FullVersion% = Yes))</Condition>
</Action>
- <Action name="Set Value">
<Type>6</Type>
<Function>0</Function>
<DTIndentLevel>1</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Variable>%CRCs%</Variable>
<Value />
<Evaluate>0</Evaluate>
</Action>
- <Action name="Search">
<Type>18</Type>
<Function>0</Function>
<DTIndentLevel>1</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Variable>%AcroVar%</Variable>
<Delimiter>;;</Delimiter>
<FileName>Acrobat.exe</FileName>
<LocalFixedDrives>1</LocalFixedDrives>
<RemoteDrives>0</RemoteDrives>
<RemovableDrives>1</RemovableDrives>
<CDROMDrives>1</CDROMDrives>
<SpecificDirectoriesDrives>1</SpecificDirectoriesDrives>
<CustomDirectoriesDrives>C:\Program Files\Adobe</CustomDirectoriesDrives>
<RecurseCustom>0</RecurseCustom>
<DialogTitle />
<DialogText>Searching for file...</DialogText>
<ShowDialog>1</ShowDialog>
</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>%AcroVar% != ""</Condition>
</Action>
- <Action name="Count Delimited Strings">
<Type>63</Type>
<Function>0</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Variable>%Total%</Variable>
<Source>%AcroVar%</Source>
<Delimiter>;;</Delimiter>
</Action>
- <Action name="Set Value">
<Type>6</Type>
<Function>0</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Variable>%Count%</Variable>
<Value>0</Value>
<Evaluate>0</Evaluate>
</Action>
- <Action name="Set Value">
<Type>6</Type>
<Function>0</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Variable>%Found%</Variable>
<Value>FALSE</Value>
<Evaluate>0</Evaluate>
</Action>
- <Action name="WHILE">
<Type>204</Type>
<Function>1</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Condition>(%Count% < %Total%) AND (%Found% = "FALSE")</Condition>
</Action>
- <Action name="Get Delimited String">
<Type>64</Type>
<Function>0</Function>
<DTIndentLevel>3</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Variable>%CurrFile%</Variable>
<Source>%AcroVar%</Source>
<Delimiter>;;</Delimiter>
<ItemIndex>%Count%</ItemIndex>
</Action>
- <Action name="Get Information">
<Type>14</Type>
<Function>0</Function>
<DTIndentLevel>3</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>0</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<FileInformationToCollect>1</FileInformationToCollect>
<Variable>%FileCRC%</Variable>
<FileName>%CurrFile%</FileName>
</Action>
- <Action name="Find">
<Type>21</Type>
<Function>0</Function>
<DTIndentLevel>3</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Variable>%FoundPos%</Variable>
<SearchIn>%CRCs%</SearchIn>
<SearchFor>%FileCRC%</SearchFor>
<StartAtPosition>0</StartAtPosition>
<SearchDirection>0</SearchDirection>
<CaseSensitive>0</CaseSensitive>
</Action>
- <Action name="IF">
<Type>200</Type>
<Function>1</Function>
<DTIndentLevel>3</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Condition>%FoundPos% != -1</Condition>
</Action>
- <Action name="Set Value">
<Type>6</Type>
<Function>0</Function>
<DTIndentLevel>4</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Variable>%Found%</Variable>
<Value>TRUE</Value>
<Evaluate>0</Evaluate>
</Action>
- <Action name="END IF">
<Type>201</Type>
<Function>1</Function>
<DTIndentLevel>3</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
</Action>
- <Action name="Set Value">
<Type>6</Type>
<Function>0</Function>
<DTIndentLevel>3</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Variable>%Count%</Variable>
<Value>%Count% + 1</Value>
<Evaluate>1</Evaluate>
</Action>
- <Action name="END WHILE">
<Type>205</Type>
<Function>1</Function>
<DTIndentLevel>2</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>2</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Condition>%Found% = "TRUE"</Condition>
</Action>
- <Action name="Get Information">
<Type>14</Type>
<Function>0</Function>
<DTIndentLevel>3</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>0</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<FileInformationToCollect>0</FileInformationToCollect>
<Variable>%AcroVar%</Variable>
<FileName>%CurrFile%</FileName>
</Action>
- <Action name="ELSE">
<Type>206</Type>
<Function>1</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
</Action>
- <Action name="Set Value">
<Type>6</Type>
<Function>0</Function>
<DTIndentLevel>3</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Variable>%AcroVar%</Variable>
<Value>False</Value>
<Evaluate>0</Evaluate>
</Action>
- <Action name="END IF">
<Type>201</Type>
<Function>1</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
</Action>
- <Action name="ELSE">
<Type>206</Type>
<Function>1</Function>
<DTIndentLevel>1</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>2</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<DialogTitle>Cannot Locate File</DialogTitle>
<DialogMessage>Sorry, both Acrobat reader and the full Acrobat version could not be found. Would you like to manually search for them?</DialogMessage>
<Icon>0</Icon>
<Variable>%Result%</Variable>
<DialogType>2</DialogType>
<DefaultButton>0</DefaultButton>
</Action>
- <Action name="IF">
<Type>200</Type>
<Function>1</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Condition>%Result% = OK</Condition>
</Action>
- <Action name="File Browse">
<Type>54</Type>
<Function>0</Function>
<DTIndentLevel>3</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<DefaultDirectory>%MyDocumentsDir%</DefaultDirectory>
<DefaultFileName>Acrobat.exe</DefaultFileName>
<DefaultFileExtenstion>*.exe</DefaultFileExtenstion>
<FileFilter>All Files (*.*)|*.*</FileFilter>
<AllowMultipleSelect>0</AllowMultipleSelect>
<FileMustExist>1</FileMustExist>
<Variable>%AcroVar%</Variable>
<DialogTitle>Cannot Locate File</DialogTitle>
<DialogType>0</DialogType>
</Action>
- <Action name="END IF">
<Type>201</Type>
<Function>1</Function>
<DTIndentLevel>2</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>2</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Condition>%Result% = OK</Condition>
</Action>
- <Action name="Set Value">
<Type>6</Type>
<Function>0</Function>
<DTIndentLevel>3</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Variable>%AcroVar%</Variable>
<Value>False</Value>
<Evaluate>0</Evaluate>
</Action>
- <Action name="END IF">
<Type>201</Type>
<Function>1</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
</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="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>((%AcroVar% > 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>Acrobat Version</DialogTitle>
<DialogMessage>You have version %AcroVar% installed</DialogMessage>
<Icon>1</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>
- <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>((%AcroVar% < 1))</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>Acrobat Version</DialogTitle>
<DialogMessage>Sorry you do not have Acrobat Installed. It is reccomended that you click the button below and install Acrobat</DialogMessage>
<Icon>1</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>
Comment