Omniferum Posted November 3, 2010 Report Share Posted November 3, 2010 (edited) Not sure why I felt like doing it but hey, I did so meh. The below template will basically ask you for What Operating system you are using (from windows xp 32 to win7 x64) and whether or not it is a desktop/laptop/notebook. That's all ya need to do. The rest is maaaagic. Any troubles let me know, or general feedback is fine too. FOR REFERENCE THIS IS ONLY FOR GEFORCE DRIVERS, which would account for 99% of people that I know/meet so enjoy. <?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"> <SourceTemplate><![CDATA[]]></SourceTemplate> <WebsiteUrl /> <UserAgent /> <UserNotes /> <LastFileDate xsi:nil="true" /> <IgnoreFileInformation>false</IgnoreFileInformation> <DownloadBeta>Default</DownloadBeta> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator /> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <HttpReferer /> <SetupInstructions /> <Variables> <item> <key> <string>download</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>http://[^'"]+exe</Regex> <Url>http://us.download.nvidia.com{refer2}</Url> <TextualContent /> <Name>download</Name> </UrlVariable> </value> </item> <item> <key> <string>refer1</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>http://[^'"]+[^'"]+\.html</Regex> <Url>http://www.nvidia.com/Download/processDriver.aspx?{psid}&{pfid}&{osid}〈=en-us</Url> <Name>refer1</Name> </UrlVariable> </value> </item> <item> <key> <string>refer2</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>url=([^'"]+exe)</Regex> <Url>{refer1}</Url> <Name>refer2</Name> </UrlVariable> </value> </item> <item> <key> <string>psid</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>psid=52</TextualContent> <Name>psid</Name> </UrlVariable> </value> </item> <item> <key> <string>pfid</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>pfid=<placeholder name="Desktop is 299 Laptop is 500 Please select one of the above" options="299|500"/></TextualContent> <Name>pfid</Name> </UrlVariable> </value> </item> <item> <key> <string>osid</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>osid=<placeholder name=" Windows XP x86 is 6 Windows XP x64 is 7 Windows Vista/7 x86 is 18 Windows Vista/7 x64 is 19 Please select one of the above" options="6|7|18|19" /></TextualContent> <Name>osid</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand>/*This is a comment line, the line below is the C# script. It will run the instructions found in the Setup Tab*/ app.Install(null);</ExecuteCommand> <ExecutePreCommand /> <ExecuteCommandType>CS</ExecuteCommandType> <ExecutePreCommandType>Batch</ExecutePreCommandType> <Category>Driver</Category> <SourceType>FixedUrl</SourceType> <PreviousLocation /> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated xsi:nil="true" /> <TargetPath></TargetPath> <FixedDownloadUrl>{download}</FixedDownloadUrl> <Name>Nvidia Driver</Name> </ApplicationJob> </Jobs> EDIT: Updated template as Nvidia recently made some changes to their site. Edited November 11, 2010 by Omniferum Quote Link to post Share on other sites
Tomorrow Posted November 4, 2010 Report Share Posted November 4, 2010 Works nicely.Thanks.I already have alternative download from TechPowerUp(they update pretty fast).Atleast we can avoid FileHippo on this. Quote Link to post Share on other sites
Reformed Pirate Posted November 10, 2010 Report Share Posted November 10, 2010 Hey, Omni...I modified your template to make it a bit kinder for the end-user. Have a look: <?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"> <SourceTemplate> <![CDATA[]]></SourceTemplate> <WebsiteUrl /> <UserAgent /> <UserNotes /> <LastFileDate xsi:nil="true" /> <IgnoreFileInformation>false</IgnoreFileInformation> <DownloadBeta>Default</DownloadBeta> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator /> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <HttpReferer /> <SetupInstructions /> <Variables> <item> <key> <string>download</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>http://[^'"]+[^'"]+\.exe</Regex> <Url>{refer2}</Url> <Name>download</Name> </UrlVariable> </value> </item> <item> <key> <string>refer1</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>http://[^'"]+[^'"]+\.html</Regex> <Url>http://www.nvidia.com/Download/processDriver.aspx?psid={psid}&pfid={pfid}&osid={osid}〈=en-us</Url> <Name>refer1</Name> </UrlVariable> </value> </item> <item> <key> <string>refer2</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>http://[^'"]+windows[^'"]+</Regex> <Url>{refer1}</Url> <Name>refer2</Name> </UrlVariable> </value> </item> <item> <key> <string>psid</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>52</TextualContent> <Name>psid</Name> </UrlVariable> </value> </item> <item> <key> <string>pfidgui</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent> <placeholder name="Is this driver for a desktop or laptop?" options="|Desktop|Laptop"/> </TextualContent> <Name>pfidgui</Name> </UrlVariable> </value> </item> <item> <key> <string>pfid</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>{pfidgui:multireplace:|:Desktop|Laptop:299|500}</TextualContent> <Name>pfid</Name> </UrlVariable> </value> </item> <item> <key> <string>osidgui</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent> <placeholder name="What OS is this driver for?" options="|Windows XP x86|Windows XP x64|Windows Vista/7|Windows Vista/7 x64" /> </TextualContent> <Name>osidgui</Name> </UrlVariable> </value> </item> <item> <key> <string>osid</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>{osidgui:multireplace:|:Windows XP x86|Windows XP x64|Windows Vista/7|Windows Vista/7 x64:6|7|18|19}</TextualContent> <Name>osid</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand>/*This is a comment line, the line below is the C# script. It will run the instructions found in the Setup Tab*/ app.Install(null);</ExecuteCommand> <ExecutePreCommand /> <ExecuteCommandType>CS</ExecuteCommandType> <ExecutePreCommandType>Batch</ExecutePreCommandType> <Category>Driver</Category> <SourceType>FixedUrl</SourceType> <PreviousLocation /> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated xsi:nil="true" /> <TargetPath></TargetPath> <FixedDownloadUrl>{download}</FixedDownloadUrl> <Name>Nvidia Driver</Name> </ApplicationJob> </Jobs> Quote Link to post Share on other sites
Tomorrow Posted January 16, 2011 Report Share Posted January 16, 2011 Im unable to import this xml to Ketarin.After i select the details i get a note.After clicking ok its blank and after another ok an error. Can someone replicate this?.Not sure if it's due to 1.6b4? Quote Link to post Share on other sites
Omniferum Posted January 16, 2011 Author Report Share Posted January 16, 2011 I just copied n' pasted the code in the first post into my Ketarin, works fine for me. Quote Link to post Share on other sites
Tomorrow Posted January 17, 2011 Report Share Posted January 17, 2011 I just copied n' pasted the code in the first post into my Ketarin, works fine for me. You're using b4 too correct? Don't know why is this? :S Quote Link to post Share on other sites
Omniferum Posted January 17, 2011 Author Report Share Posted January 17, 2011 No, I haven't updated to b4 yet. Still on b3, floele said he did a quick fix for b4 and it has been released twice so perhaps? Quote Link to post Share on other sites
Tomorrow Posted January 17, 2011 Report Share Posted January 17, 2011 (edited) No, I haven't updated to b4 yet. Still on b3, floele said he did a quick fix for b4 and it has been released twice so perhaps? Hey-hey .Updated to the fixed b4 and it's working now Intially i updated to the fixed b4 right away but i didn't test the import after that.Now that i did it seems to be working.Atleast importing the prototype template works.Im unable to import the one in online database tho(same error - problably brackets messed up there).As for the local ones - i can now import these too with no problem. EDIT: You could use {refer1} in the website field as default in the template.It takes nicely to download page of the latest version. Edited January 17, 2011 by Tomorrow Quote Link to post Share on other sites
latzkes Posted May 7, 2011 Report Share Posted May 7, 2011 (edited) Maybe this will help those who have older adapter, or who need a driver for other operating systems. I apologize for the translation of Google. Request Format: http://www.nvidia.ru/Download/processDriver.aspx?psid=[value]&pfid=[value]&osid=[value]&lid=[value]〈=ru psid - Index Series pfid - index of the family osid - index OS lid - the index language Steps: Find the ID type of products from xml-specification at: http://www.nvidia.ru/Download/API/lookupValueSearch.aspx?TypeID=1 Substitute the value found in the "ParentID" query on xml-specification product line at: http://www.nvidia.ru/Download/API/lookupValueSearch.aspx?TypeID=2&ParentID=[value] Obtain "psid". Substitute the value "psid" in "ParentID" query on xml-specification product family at: http://www.nvidia.ru/Download/API/lookupValueSearch.aspx?TypeID=3&ParentID=[value] Obtain "pfid" Find the ID of the operating system from the xml-spec at: http://www.nvidia.ru/Download/API/lookupValueSearch.aspx?TypeID=4 Obtain "osid". Find a language identifier of the xml-spec at: http://www.nvidia.ru/Download/API/lookupValueSearch.aspx?TypeID=5 Obtain the "lid". Example: The answer to this query: http://www.nvidia.ru/Download/processDriver.aspx?psid=1&pfid=5&osid=19&lid=16〈=ru will link: http://www.nvidia.ru/object/win7-winvista-64bit-270.61-whql-driver-ru.html Treating it with a regex-expression was a link to download the necessary files installed graphics driver Type GeForce 8 series, a family of 8600 Windows 7 x64 Russian version. http://ru.download.nvidia.com/Windows/270.61/270.61-desktop-win7-winvista-64bit-international-whql.exe Edited May 7, 2011 by latzkes Quote Link to post Share on other sites
Tomorrow Posted August 5, 2011 Report Share Posted August 5, 2011 (edited) Omniferum could you add the Beta option next version? I found out that it's possible to get the latest beta with a slightly modified template. Existing users can add a new textual variable named whql with value: whql=0 (0 means beta;1 means whql) And you need to modify the refer1 variable website address to: http://www.nvidia.com/Download/processFind.aspx?{whql}&{psid}&{pfid}&{osid}〈=en-us And you're done.Now it always matches the latest Beta version. Also perhaps add the option for the user to select Product Version (psid) like ION,nForce etc? And obviously the whql/beta option. EDIT: Infact i made a modified template myself.Try it out now: <?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"> <SourceTemplate><![CDATA[]]></SourceTemplate> <WebsiteUrl /> <UserAgent /> <UserNotes /> <LastFileDate xsi:nil="true" /> <IgnoreFileInformation>false</IgnoreFileInformation> <DownloadBeta>Default</DownloadBeta> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator /> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <HttpReferer /> <SetupInstructions /> <Variables> <item> <key> <string>download</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>http://[^'"]+exe</Regex> <Url>http://us.download.nvidia.com{refer2}</Url> <TextualContent /> <Name>download</Name> </UrlVariable> </value> </item> <item> <key> <string>refer1</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>http://[^'"]+[^'"]+\.html</Regex> <Url>http://www.nvidia.com/Download/processFind.aspx?{whql}&{psid}&{pfid}&{osid}〈=en-us</Url> <Name>refer1</Name> </UrlVariable> </value> </item> <item> <key> <string>refer2</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>url=([^'"]+exe)</Regex> <Url>{refer1}</Url> <Name>refer2</Name> </UrlVariable> </value> </item> <item> <key> <string>psid</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>psid=52</TextualContent> <Name>psid</Name> </UrlVariable> </value> </item> <item> <key> <string>pfid</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>pfid=<placeholder name="Desktop is 299 Laptop is 500 Please select one of the above" options="299|500"/></TextualContent> <Name>pfid</Name> </UrlVariable> </value> </item> <item> <key> <string>whql</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>whql=<placeholder name="WHQL is 1 BETA is 0 Please select one of the above" options="1|0"/></TextualContent> <Name>whql</Name> </UrlVariable> </value> </item> <item> <key> <string>osid</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>osid=<placeholder name=" Windows XP x86 is 6 Windows XP x64 is 7 Windows Vista/7 x86 is 18 Windows Vista/7 x64 is 19 Please select one of the above" options="6|7|18|19" /></TextualContent> <Name>osid</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand></ExecuteCommand> <ExecutePreCommand /> <ExecuteCommandType>CS</ExecuteCommandType> <ExecutePreCommandType>Batch</ExecutePreCommandType> <Category>Driver</Category> <SourceType>FixedUrl</SourceType> <PreviousLocation /> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated xsi:nil="true" /> <TargetPath></TargetPath> <FixedDownloadUrl>{download}</FixedDownloadUrl> <Name>Nvidia Driver</Name> </ApplicationJob> </Jobs> Edited August 5, 2011 by Tomorrow Quote Link to post Share on other sites
Marc Posted March 2 Report Share Posted March 2 i know i am late to the party... but is there any actual version for this? Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.