Jump to content
Ketarin forum
Netscan
Guest
By Guest, 11/23/2014
  • 90 downloads
  • Updated:

File Details

  • Website URL
  • User Agent
  • Category Internet
  • User Notes change save in folder on first tab as you wish for 32bit version only rewrite number 64 to 32 in command on Setup tab

(Show)XML Contents

            <?xml version="1.0" encoding="utf-8"?>
<Jobs>
  <ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Guid="135623a2-b6cf-40f2-b6aa-829e9ab69eb5">
    <WebsiteUrl/>
    <UserAgent/>
    <UserNotes>change save in folder on first tab as you wish
for 32bit version only rewrite number 64 to 32 in command on Setup tab</UserNotes>
    <LastFileSize>2889262</LastFileSize>
    <LastFileDate>2015-08-21T20:08:30.2482138</LastFileDate>
    <IgnoreFileInformation>false</IgnoreFileInformation>
    <DownloadBeta>Default</DownloadBeta>
    <DownloadDate xsi:nil="true"/>
    <CheckForUpdatesOnly>false</CheckForUpdatesOnly>
    <VariableChangeIndicator>Version</VariableChangeIndicator>
    <HashVariable/>
    <HashType>None</HashType>
    <CanBeShared>true</CanBeShared>
    <ShareApplication>true</ShareApplication>
    <ExclusiveDownload>false</ExclusiveDownload>
    <HttpReferer/>
    <SetupInstructions>
      <SetupInstruction xsi:type="CloseProcessInstruction">
        <ProcessName>netscan</ProcessName>
      </SetupInstruction>
      <SetupInstruction xsi:type="CustomSetupInstruction">
        <Code>rem -- Unzip - ONLY FOLDER 64-bit - to folder one up from zip file
7z e -y "{file}" -o"{file:directory}\.." 64-bit

rem original: 7z x -y "{file}" -o"{file:directory}\.."
</Code>
        <Type>Batch</Type>
      </SetupInstruction>
      <SetupInstruction xsi:type="CustomSetupInstruction">
        <Code>rem -- add VERSION value to Katerin DB
sqlite3 "%AppData%\Ketarin\jobs.db" "select * from variables where JobGuid='{appguid}' AND VariableName='Current Ver';" | find "Current Ver"
rem IF Current Ver exist for JobGuid? - INSERT else UPDATE
if errorlevel 1 ( sqlite3 "%AppData%\Ketarin\jobs.db" "INSERT INTO variables (VariableName,VariableType,TextualContent,CachedContent,RegexRightToLeft,JobGuid) VALUES ('Current Ver',2,'{Version}','{Version}',0,'{appguid}');"
) else sqlite3 "%AppData%\Ketarin\jobs.db" "UPDATE variables SET TextualContent='{Version}' WHERE JobGuid='{appguid}' AND VariableName='Current Ver';"
</Code>
        <Type>Batch</Type>
      </SetupInstruction>
      <SetupInstruction xsi:type="CustomSetupInstruction">
        <Code>rem -- Version - create version info file v1
del /q "{file:directory}\..\~ this version is v*._"
echo version>"{file:directory}\..\_Version - {appname} - v{Version}._"
</Code>
        <Type>Batch</Type>
      </SetupInstruction>
    </SetupInstructions>
    <Variables>
      <item>
        <key>
          <string>Version</string>
        </key>
        <value>
          <UrlVariable>
            <RegexRightToLeft>false</RegexRightToLeft>
            <VariableType>RegularExpression</VariableType>
            <Regex>Latest version(?:</\w+>)?\s*(?:<\w+>)\s*(\d+\.\d+(?:\.\d+))[\s<]</Regex>
            <Url>http://www.softperfect.com/products/networkscanner/?from=auto</Url>
            <StartText><h4>Latest version</h4>
            <p>
			</StartText>
            <EndText> (</EndText>
            <Name>Version</Name>
          </UrlVariable>
        </value>
      </item>
      <item>
        <key>
          <string>Current Ver</string>
        </key>
        <value>
          <UrlVariable>
            <RegexRightToLeft>false</RegexRightToLeft>
            <VariableType>Textual</VariableType>
            <Regex/>
            <TextualContent>6.0.7</TextualContent>
            <Name>Current Ver</Name>
          </UrlVariable>
        </value>
      </item>
    </Variables>
    <ExecuteCommand/>
    <ExecutePreCommand/>
    <ExecuteCommandType>Batch</ExecuteCommandType>
    <ExecutePreCommandType>Batch</ExecutePreCommandType>
    <Category>Internet</Category>
    <SourceType>FixedUrl</SourceType>
    <PreviousLocation/>
    <DeletePreviousFile>true</DeletePreviousFile>
    <Enabled>true</Enabled>
    <FileHippoId/>
    <LastUpdated>2015-08-21T20:08:30.2482138</LastUpdated>
    <TargetPath>{portProgPath}\_internet_\local NET discovery\netscan\~update~\</TargetPath>
    <FixedDownloadUrl>http://www.softperfect.com/download/freeware/netscan.zip</FixedDownloadUrl>
    <Name>Netscan</Name>
  </ApplicationJob>
</Jobs>

        

Comments

There are no comments to display.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Add your comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.