Jump to content
Ketarin forum

josh

Members
  • Posts

    210
  • Joined

  • Last visited

Posts posted by josh

  1. Hi,

     

    My 3rd and last tip for today is how to create a shortcut on desktop from command-line. There's also no simple way to do this with Windows DOS. I use shortcut command which is bundled with NirCmd, read more here. I find this tiny application very useful and works very well with Ketarin, many other commands and customizations are available :-)

     

    shortcut [filename] [folder] [shortcut title] {arguments} {icon file} {icon resource number} {ShowCmd} {Start In Folder} {Hot Key} 
    Creates a shortcut to a file. 
    
    Examples: 
    shortcut "f:\winnt\system32\calc.exe" "~$folder.desktop$" "Windows Calculator" 
    shortcut "f:\winnt\system32\calc.exe" "~$folder.programs$\Calculators" "Windows Calculator" 
    shortcut "f:\Program Files\KaZaA\Kazaa.exe" "c:\temp\MyShortcuts" "Kazaa" 
    shortcut "f:\Program Files" "c:\temp\MyShortcuts" "Program Files Folder" "" "f:\winnt\system32\shell32.dll" 45 
    shortcut "f:\Program Files" "c:\temp\MyShortcuts" "Program Files Folder" "" "" "" "max" 

     

    Using shortcut with Ketarin

    nircmd shortcut "%ProgramFiles%\procexp.exe" "~$folder.desktop$" "{appname}" 

     

    Some more kung fu :)

    nircmd shortcut "{root}USB-Toolkit\{category}\{appname}\vlc\vlc.exe" "~$folder.desktop$" "{appname}" "--no-plugins-cache --config=vlcrc --language=en --qt-minimal-view --qt-advanced-pref --no-qt-updates-notif"

  2. Hi,

     

    This is another simple command i use with Ketarin. It took me trouble to find this one :-) It's called elevate and it's bundled with NirCmd, read this post to know more about this tool. Syntax:

     

    elevate [Program] {Command-Line Parameters} 
    For Windows Vista/7/2008 only: Run a program with administrator rights. When the [Program] contains one or more space characters, you must put it in quotes. 
    
    Examples: 
    elevate notepad.exe 
    elevate notepad.exe C:\Windows\System32\Drivers\etc\HOSTS 
    elevate "c:\program files\my software\abc.exe" 

     

     

    Using elevate with Ketarin (UAC will prompt you to accept or deny):

    nircmd elevate cmd /c copy /y "{file}" "%ProgramFiles%"

  3. Hi all,

     

    I decided to share a simple, no frills way of writing to *.ini. I needed this feature for some of my unattended installs, and i discovered Windows doesn't provide an easy way to do it. On the contrary. All you have to do is to download NirCmd, and use inisetval command. I suggest you copy nircmd.exe to the same folder as Ketarin. Syntax:

     

    inisetval [iNI filename] [section] [key] [value] 
    Writes a value into INI file. If the file doesn't exist, it'll automatically be created. 
    Example: 
    inisetval "c:\windows\test.ini" "section1" "TestValue" "1" 

     

    Using inisetval with Ketarin:

    nircmd inisetval "{root}USB-Toolkit\{category}\{appname}\INSTALL.INF" "auto" "auto" "1" & nircmd inisetval "{root}USB-Toolkit\{category}\{appname}\INSTALL.INF" "auto" "alllang" "0"

     

    Another example:

    start "" /wait {root}USB-Toolkit\Backup\Uniextract\UniExtract.exe "{file}" "{root}USB-Toolkit\{category}\{appname}" &
    start "" /wait nircmd inisetval "{root}USB-Toolkit\{category}\{appname}\ImgBurn.ini" "Settings" "PortableMode" "1" & 
    start "" /wait nircmd inisetval "{root}USB-Toolkit\{category}\{appname}\ImgBurn.ini" "Settings" "FILELOCATIONS_GraphDataFiles" ".\Graph Data Files\" & 
    start "" /wait nircmd inisetval "{root}USB-Toolkit\{category}\{appname}\ImgBurn.ini" "Settings" "FILELOCATIONS_ImageFiles" ".\Image Files\" &
    start "" /wait nircmd inisetval "{root}USB-Toolkit\{category}\{appname}\ImgBurn.ini" "Settings" "FILELOCATIONS_LogFiles" ".\Log Files\" &
    start "" /wait nircmd inisetval "{root}USB-Toolkit\{category}\{appname}\ImgBurn.ini" "Settings" "FILELOCATIONS_ProjectFiles" ".\Project Files\" &
    start "" /wait nircmd inisetval "{root}USB-Toolkit\{category}\{appname}\ImgBurn.ini" "Settings" "FILELOCATIONS_QueueFiles" ".\Queue Files\" &
    rd "{root}USB-Toolkit\{category}\{appname}\$temp" /s /q & 
    rd "{root}USB-Toolkit\{category}\{appname}\$PLUGINSDIR" /s /q & 
    rd "{root}USB-Toolkit\{category}\{appname}\Uniblue" /s /q

     

    NirCmd:

     

    Website - http://www.nirsoft.net/utils/nircmd.html

     

    Download - http://www.nirsoft.net/utils/nircmd.zip

  4. @josh: That's a problem that does not actually have an easy solution. Ketarin only knows the last path of a file, say "F:\...". If the drive letter changes to "G:\" Ketarin won't find the file. The "current" name can, however, only be determined while doing an update, because variables might need to be resolved. The only solution that could work in my oionion is to also remember the relative path and try this instead of the absolute one.

     

    Paths relative to Ketarin directory? Okay, not a problem for me... not that it matters, but it still confuses me why variables ARE resolved during an update job and NOT during an install job since a similar update check is performed.

  5. When importing, "PreviousLocation" will be lost. Means: File is missing (or unknown). Thus Ketarin is forced to update in order to get the file. The second time, it is not necessary, as the location is known and the file exists.

     

    Than you need to build that SAS job localy. I talked of "import" because i though it was the same. But I have reproduced the issue another way, maybe more relevant since this is actually what i do:

     

     

    A. I have Ketarin and all my updated jobs in my local drive, C:

     

    B. Than i sync all that content to USB stick;

     

    C. Than i plug USB stick into another machine, (say drive F: is atributed);

     

    D. I run a Ccleaner update --> Ketarin identifies if file is updated (it is) and skips download

     

    03-10-2010 22:48:03: Update started with 1 application(s)
    03-10-2010 22:48:03: CCleaner - Slim: Using referer: (none)
    03-10-2010 22:48:06: CCleaner - Slim: Server source file: /ccleaner/download/slim/downloadfile
    03-10-2010 22:48:06: CCleaner - Slim: Determined target file name: F:\USB-Toolkit\Install\CCleaner - Slim.exe
    03-10-2010 22:48:06: CCleaner - Slim: Checking if update is required...
    03-10-2010 22:48:06: CCleaner - Slim: Update not required, since date and file size remain unchanged
    03-10-2010 22:48:08: Update finished

     

    E. I run a Flash update --> Ketarin identifies if file is updated (it is) and skips download

     

    03-10-2010 22:49:27: Update started with 1 application(s)
    03-10-2010 22:49:27: Flashplayer_IE: Using referer: (none)
    03-10-2010 22:49:30: Flashplayer_IE: Server source file: /get/flashplayer/current/install_flash_player_ax.exe
    03-10-2010 22:49:30: Flashplayer_IE: Determined target file name: F:\USB-Toolkit\Install\flashplayer_ie.exe
    03-10-2010 22:49:30: Flashplayer_IE: Checking if update is required...
    03-10-2010 22:49:30: Flashplayer_IE: Update not required, since date and file size remain unchanged
    03-10-2010 22:49:32: Update finished

     

    F. I run a Firefox update --> Ketarin identifies if file is updated (it is NOT) and skips download because i choose "do not download"

     

    03-10-2010 22:32:03: Update started with 1 application(s)
    03-10-2010 22:32:07: Firefox: Using referer: (none)
    03-10-2010 22:32:08: Firefox: Server source file: /download/file/7e93ce9fd54245349915cea56dc6f3462d00c2cdec6445232fa9f1601aa4c924
    03-10-2010 22:32:10: Firefox: Determined target file name: F:\USB-Toolkit\Install\Firefox.exe
    03-10-2010 22:32:10: Firefox: Checking if update is required...
    03-10-2010 22:32:10: Firefox: Update required, file sizes do not match
    03-10-2010 22:32:10: Firefox: Skipped downloading updates
    03-10-2010 22:32:12: Update finished

     

    G. I run a Firefox install --> like the jobs above i expected Ketarin to locate the existing file, verify if it's updated, since i choose "do not download" to skip download if outdated, and proceed to install ASAP. Problem is, an update occurs even though i told Ketarin to skip it. Something is not quite right here..

     

    03-10-2010 22:35:52: Update started with 1 application(s)
    03-10-2010 22:35:56: Firefox: Using referer: (none)
    03-10-2010 22:35:56: Firefox: Server source file: /download/file/7862274ca83c278027d71f71e74378982171e69507334cbfbf54eed7e2f71e5c
    03-10-2010 22:35:58: Firefox: Determined target file name: F:\USB-Toolkit\Install\Firefox.exe
    03-10-2010 22:35:58: Firefox: Checking if update is required...
    03-10-2010 22:35:58: Firefox: Update required, file sizes do not match
    03-10-2010 22:37:07: Firefox: Executing command: echo %DATE% %TIME% Firefox.exe >> F:\USB-Toolkit\Updates.txt 
    03-10-2010 22:37:14: Firefox: Command result: Microsoft Windows XP [VersÆo 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    F:\USB-Toolkit>echo %DATE% %TIME% Firefox.exe >> F:\USB-Toolkit\Updates.txt 
    F:\USB-Toolkit>
    
    03-10-2010 22:37:18: Firefox: Executing command: "F:\USB-Toolkit\Install\Firefox.exe" -ms
    03-10-2010 22:37:29: Firefox: Command result: Microsoft Windows XP [VersÆo 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    F:\USB-Toolkit>"F:\USB-Toolkit\Install\Firefox.exe" -ms
    F:\USB-Toolkit>
    

  6. Sorry i forgot to add setup instruction to that job, so i updated XML above (i also removed the 2nd XML since you will be able to reproduce it)

     

     

    1. Download an older Superantispyware (SAS for short), for instance http://www.filehippo.com/download_superantispyware/7901/

     

    2. Place file on HDD root in a folder named "{root}USB-Toolkit\Install\"

     

    3. Import the XML above and run install via context menu or via install button

     

    4. SAS will be updated (this is the error) and than installed .

     

    5. Uninstall SAS and close Ketarin

     

    6. Copy the older SAS to the same "{root}USB-Toolkit\Install\" as before

     

    7. Open Ketarin and run job again via "install option" in context menu

     

    8. SAS will be immediatly installed (no update occurs).

  7. Okay, i reproduced it and i think problem above is related to changing drive unit / location from D: to C: (Virtual Machine). Using the first XML causes SAS to be downloaded, the second works fine. XML

     

    <?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="ffacd812-460e-4e4e-a09a-0005a06c9b70">
       <WebsiteUrl />
       <UserAgent />
       <UserNotes />
       <LastFileSize>9458552</LastFileSize>
       <LastFileDate>2010-09-22T20:05:11.4723294</LastFileDate>
       <IgnoreFileInformation>false</IgnoreFileInformation>
       <DownloadBeta>Default</DownloadBeta>
       <DownloadDate xsi:nil="true" />
       <CheckForUpdatesOnly>true</CheckForUpdatesOnly>
       <VariableChangeIndicator />
       <CanBeShared>true</CanBeShared>
       <ShareApplication>false</ShareApplication>
       <ExclusiveDownload>false</ExclusiveDownload>
       <HttpReferer />
       <SetupInstructions>
         <SetupInstruction xsi:type="StartProcessInstruction">
           <EnvironmentVariables />
           <FileName>{file}</FileName>
           <Parameters />
         </SetupInstruction>
       </SetupInstructions>
       <Variables>
         <item>
           <key>
             <string>homepage</string>
           </key>
           <value>
             <UrlVariable>
               <RegexRightToLeft>false</RegexRightToLeft>
               <VariableType>Textual</VariableType>
               <Regex />
               <TextualContent>http://www.superantispyware.com/download.html</TextualContent>
               <Name>homepage</Name>
             </UrlVariable>
           </value>
         </item>
       </Variables>
       <ExecuteCommand />
       <ExecutePreCommand />
       <ExecuteCommandType>Batch</ExecuteCommandType>
       <ExecutePreCommandType>Batch</ExecutePreCommandType>
       <Category>Install</Category>
       <SourceType>FixedUrl</SourceType>
       <PreviousLocation>D:\USB-Toolkit\Install\SUPERAntiSpyware.exe</PreviousLocation>
       <DeletePreviousFile>true</DeletePreviousFile>
       <Enabled>true</Enabled>
       <FileHippoId>superantispyware</FileHippoId>
       <LastUpdated>2010-09-22T20:05:11.4723294</LastUpdated>
       <TargetPath>{root}USB-Toolkit\{category}\SUPERAntiSpyware.{url:ext}</TargetPath>
       <FixedDownloadUrl>http://downloads.superantispyware.com/downloads/SUPERAntiSpyware.exe</FixedDownloadUrl>
       <Name>SUPERAntiSpyware</Name>
     </ApplicationJob>
    </Jobs>

  8. Apparently, yes. Below you have 2 sucessful install jobs, one done from context menu, the other selecting Firefox from list of applications to install and pushing button. However on first run (i didn't kept logs as i though i could reproduce issue) eg, after unpacking b7 to my previous Ketarin folder, running install from context menu caused an error and from list caused Firefox to be updated. Not sure what the problem was, for the moment i cannot reproduce it but i'll report it if it occurs again.

     

    10/3/2010 1:26:51 PM: Firefox: Executing command: "C:\USB-Toolkit\Install\Firefox.exe" -ms
    10/3/2010 1:27:03 PM: Firefox: Command result: Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    C:\Documents and Settings\Owner\Desktop\Ketarin-1.5.0.b7>"C:\USB-Toolkit\Install\Firefox.exe" -ms
    C:\Documents and Settings\Owner\Desktop\Ketarin-1.5.0.b7>

     

    10/3/2010 1:28:07 PM: Firefox: Executing command: "C:\USB-Toolkit\Install\Firefox.exe" -ms
    10/3/2010 1:28:18 PM: Firefox: Command result: Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    C:\Documents and Settings\Owner\Desktop\Ketarin-1.5.0.b7>"C:\USB-Toolkit\Install\Firefox.exe" -ms
    C:\Documents and Settings\Owner\Desktop\Ketarin-1.5.0.b7>

     

    BTW i'm assuming i can run Beta 7 to test experimental features from http://ketarin.canneverbe.com/forum/viewtopic.php?pid=4230#p4230

  9. No it still doesn't install anything if "Do not download:check for updates only" is enabled. I pasted log and Firefox XML below (just in case it is helpful)

     

    10/3/2010 12:30:57 PM: Update started with 1 application(s)
    10/3/2010 12:30:58 PM: Firefox: Using referer: (none)
    10/3/2010 12:30:59 PM: Firefox: Server source file: /download/file/3494bc7d57bc5d375eabd1c3bfac5124b6aa6e2aa9ccbe36c5738781b086bd27
    10/3/2010 12:31:01 PM: Firefox: Determined target file name: C:\USB-Toolkit\Install\Firefox.exe
    10/3/2010 12:31:01 PM: Firefox: Checking if update is required...
    10/3/2010 12:31:01 PM: Firefox: Update required, file sizes do not match
    10/3/2010 12:31:01 PM: Firefox: Skipped downloading updates
    10/3/2010 12:31:02 PM: Update finished
    10/3/2010 12:31:02 PM: Firefox: Executing command: "D:\USB-Toolkit\Install\Firefox.exe" -ms
    10/3/2010 12:31:03 PM: Firefox: Command result: Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    C:\Documents and Settings\Owner\Desktop\Ketarin-1.5.0.b6>"D:\USB-Toolkit\Install\Firefox.exe" -ms
    The device is not ready.
    C:\Documents and Settings\Owner\Desktop\Ketarin-1.5.0.b6>
    
    10/3/2010 12:33:55 PM: Update started with 1 application(s)
    10/3/2010 12:33:57 PM: Java: Using referer: (none)
    10/3/2010 12:33:58 PM: Java: Server source file: /download/file/ed0cdd309d576fafd5fbce38f4c360dc0dcbdf8395a2bb49f18836ebbcb235de
    10/3/2010 12:33:59 PM: Java: Determined target file name: C:\USB-Toolkit\Install\Java.exe
    10/3/2010 12:33:59 PM: Java: Checking if update is required...
    10/3/2010 12:33:59 PM: Java: Update required, file modified dates do not match
    10/3/2010 12:33:59 PM: Java: Skipped downloading updates
    10/3/2010 12:34:00 PM: Update finished
    10/3/2010 12:34:01 PM: Java: Executing command: "D:\USB-Toolkit\Install\Java.exe" /s IEXPLORER=1 MOZILLA=1 REBOOT=Suppress
    10/3/2010 12:34:01 PM: Java: Command result: Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    C:\Documents and Settings\Owner\Desktop\Ketarin-1.5.0.b6>"D:\USB-Toolkit\Install\Java.exe" /s IEXPLORER=1 MOZILLA=1 REBOOT=Suppress
    The device is not ready.
    C:\Documents and Settings\Owner\Desktop\Ketarin-1.5.0.b6>
    

     

    <?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="d3a27355-aa0c-4d53-9b10-36e0231e0746">
       <WebsiteUrl />
       <UserAgent />
       <UserNotes>silent install
    http://support.mozilla.com/tiki-view_forum_thread.php?forumId=1&comments_parentId=379976</UserNotes>
       <LastFileSize>8589088</LastFileSize>
       <LastFileDate>2010-06-28T16:13:21.4457117</LastFileDate>
       <IgnoreFileInformation>false</IgnoreFileInformation>
       <DownloadBeta>AlwaysDownload</DownloadBeta>
       <DownloadDate xsi:nil="true" />
       <CheckForUpdatesOnly>true</CheckForUpdatesOnly>
       <VariableChangeIndicator />
       <CanBeShared>true</CanBeShared>
       <ShareApplication>false</ShareApplication>
       <ExclusiveDownload>true</ExclusiveDownload>
       <HttpReferer />
       <SetupInstructions>
         <SetupInstruction xsi:type="CustomSetupInstruction">
           <Code>"{file}" -ms</Code>
           <Type>Batch</Type>
         </SetupInstruction>
       </SetupInstructions>
       <Variables>
         <item>
           <key>
             <string>homepage</string>
           </key>
           <value>
             <UrlVariable>
               <RegexRightToLeft>false</RegexRightToLeft>
               <VariableType>Textual</VariableType>
               <Regex />
               <TextualContent>http://www.filehippo.com/download_adobe_reader/</TextualContent>
               <Name>homepage</Name>
             </UrlVariable>
           </value>
         </item>
       </Variables>
       <ExecuteCommand />
       <ExecutePreCommand />
       <ExecuteCommandType>Batch</ExecuteCommandType>
       <ExecutePreCommandType>Batch</ExecutePreCommandType>
       <Category>Install</Category>
       <SourceType>FileHippo</SourceType>
       <PreviousLocation>D:\USB-Toolkit\Install\Firefox.exe</PreviousLocation>
       <DeletePreviousFile>true</DeletePreviousFile>
       <Enabled>true</Enabled>
       <FileHippoId>firefox</FileHippoId>
       <LastUpdated>2010-06-28T16:13:21.4457117</LastUpdated>
       <TargetPath>{root}USB-Toolkit\{category}\{appname}.{url:ext}</TargetPath>
       <FixedDownloadUrl />
       <Name>Firefox</Name>
     </ApplicationJob>
    </Jobs>

  10. I bet that is going to be helpful to a lot of people. Currently i only use sf.net because of 5 PortableApps, i know some of them are hosted locally at softpedia but not all. Sorry if i don't post a working XML but i read the other user warning. In sum, i am currently using referer above, a browser user agent (!), and only 2 variables, one for the redirect page and another for the download link. Trouble for me is i constantly need to update my jobs.

  11. Install button still checks for update if a newer build is found, than skips download, tries to install older build and fails. Ketarin says install is OK but no install is done, and in log you read "The device is not ready." Twice i have seen this, with Firefox and Java - I am only reporting it because this means i cannot install older application builds with this method :-( This seems to be related either with the "file modified dates do not match" and "file sizes do not match" mismatches.

     

    9/30/2010 12:10:17 PM: Update started with 1 application(s)
    9/30/2010 12:10:20 PM: Firefox: Using referer: (none)
    9/30/2010 12:10:21 PM: Firefox: Server source file: /download/file/b1c343401c55a1851c1ffe4eeb0f39d55bf8964a669d97463ae7e1ec5efda7ba
    9/30/2010 12:10:22 PM: Firefox: Determined target file name: C:\USB-Toolkit\Install\Firefox.exe
    9/30/2010 12:10:22 PM: Firefox: Checking if update is required...
    9/30/2010 12:10:22 PM: Firefox: Update required, file sizes do not match
    9/30/2010 12:10:22 PM: Firefox: Skipped downloading updates
    9/30/2010 12:10:23 PM: Update finished
    9/30/2010 12:10:24 PM: Firefox: Executing command: "D:\USB-Toolkit\Install\Firefox.exe" -ms
    9/30/2010 12:10:25 PM: Firefox: Command result: Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    C:\Documents and Settings\Owner\Desktop\Ketarin-1.5.0.b4>"D:\USB-Toolkit\Install\Firefox.exe" -ms
    The device is not ready.
    C:\Documents and Settings\Owner\Desktop\Ketarin-1.5.0.b4>

  12. Beta 3

     

    !Fixed another GUID error message

    *Do not update applications on setup by default (only force update if file does not exist)

    *New global variables editor

     

    Thank you for this update. I'm going to need to do some further testing later, but so far i can say i really notice the difference of speed whyle installing. :)

  13. are you telling me i needed to redefine 144 values? ... all i have are jobs with no template.

     

    True, but if you create a new app profile using the "old" template code, then export it, you'll be able to see the source is extremely simple (simply encoded text of the template) so migrating that section to all the rest of the similar templates shouldn't be too difficult. Back it up a few times first before you do, though, since an error could be Egon Spengler "bad".

    As i was saying...

    Even with 1.5b2 if i import the modified template (+GUID +2 new variables) Ketarin prompts me to insert new values to replace the existing one's (hence my question above) and all it does is to create a new job.

    And also...

    EDIT1: Now i remember, i once changed 1 variable in my older template... so apparently this feature is working fine

     

    error message saying GUID needs to have "32 characters" (36?)

     

    I got the same thing during most of my tests - use lowercase and the attribute name "Guid" not "guid" or "GUID". That seems to work for me.

     

    Steps to reproduce my problem @ http://ketarin.canneverbe.com/forum/viewtopic.php?pid=4156#p4156

    Guid="66ffec5e-4b83-4e3a-ae8c-48e8b23f4649"

    Thanks for trying to help :)

  14. What steps do you follow to get that error?

     

    I just picked one of my Microsoft jobs (slightly modified from shawn template), export as application template, add a GUID and a couple of placeholders, import back and got that message. XML:

     

    <?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="66ffec5e-4b83-4e3a-ae8c-48e8b23f4649">
       <WebsiteUrl />
       <UserAgent />
       <UserNotes />
       <LastFileSize>6407992</LastFileSize>
       <LastFileDate>2010-09-12T19:08:53.8377402</LastFileDate>
       <IgnoreFileInformation>false</IgnoreFileInformation>
       <DownloadBeta>Default</DownloadBeta>
    
       <CheckForUpdatesOnly>false</CheckForUpdatesOnly>
       <VariableChangeIndicator />
       <CanBeShared>true</CanBeShared>
       <ShareApplication>false</ShareApplication>
       <ExclusiveDownload>false</ExclusiveDownload>
       <HttpReferer />
       <SetupInstructions />
       <Variables>
         <item>
           <key>
             <string>mssearch</string>
           </key>
           <value>
             <UrlVariable>
               <RegexRightToLeft>false</RegexRightToLeft>
               <VariableType>Textual</VariableType>
               <Regex />
               <TextualContent><placeholder name="What is the search term on MS/Downloads?" value="" /></TextualContent>
               <Name>mssearch</Name>
             </UrlVariable>
           </value>
         </item>
         <item>
           <key>
             <string>mskey</string>
           </key>
           <value>
             <UrlVariable>
               <RegexRightToLeft>false</RegexRightToLeft>
               <VariableType>RegularExpression</VariableType>
               <Regex>FamilyID=([a-z\d\-]+)['"&]</Regex>
               <Url>http://www.microsoft.com/downloads/en/results.aspx?freetext=%22{mssearch}%22&displaylang=en&stype=ss_rr&nr=10&sortCriteria=Date&sortOrder=Descending</Url>
               <Name>mskey</Name>
             </UrlVariable>
           </value>
         </item>
         <item>
           <key>
             <string>version</string>
           </key>
           <value>
             <UrlVariable>
               <RegexRightToLeft>false</RegexRightToLeft>
               <VariableType>RegularExpression</VariableType>
               <Regex>Version:</div>\s+<div[^>]+>([^<>]+)</div></Regex>
               <Url>http://www.microsoft.com/downloads/en/details.aspx?displayLang=en&FamilyID={mskey}</Url>
               <Name>version</Name>
             </UrlVariable>
           </value>
         </item>
         <item>
           <key>
             <string>sdownload</string>
           </key>
           <value>
             <UrlVariable>
               <RegexRightToLeft>false</RegexRightToLeft>
               <VariableType>RegularExpression</VariableType>
               <Regex>href=["'](http://[^"']+_x86\.exe)["']</Regex>
               <Url>http://www.microsoft.com/downloads/en/details.aspx?displayLang=en&FamilyID={mskey}</Url>
               <TextualContent>onclick="openDownloadWindow\('([^'"]+download[^'"]+)['"]</TextualContent>
               <Name>sdownload</Name>
             </UrlVariable>
           </value>
         </item>
       </Variables>
       <ExecuteCommand />
       <ExecutePreCommand />
       <ExecuteCommandType>Batch</ExecuteCommandType>
       <ExecutePreCommandType>Batch</ExecutePreCommandType>
       <Category>Microsoft</Category>
       <SourceType>FixedUrl</SourceType>
    
       <DeletePreviousFile><placeholder name="Delete Previous Version?" value="true" options="false|true" /></DeletePreviousFile>
       <Enabled>true</Enabled>
       <FileHippoId />
    
       <TargetPath>{root}USB-Toolkit\{category}\</TargetPath>
       <FixedDownloadUrl>{sdownload}</FixedDownloadUrl>
       <Name><placeholder name="Application Name?" value="" /></Name>
     </ApplicationJob>
    </Jobs>

×
×
  • 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.