Rarst Posted October 29, 2010 Report Share Posted October 29, 2010 I had configured setup instructions for bunch of software. For some it work fine, but some fail with "Unable to connect" (rough translation from localized message) when there is no Internet connection available. Simply turning on Internet connection makes it work just fine. I have a hunch that apps that fail are all set up with "FileHippo ID" because with network enabled I see connection going up to some CDN server that seems to be used by FileHippo. By the way many thanks for implementing setups! It's greatly useful feature and will let me forget lot of pain from maintaining silent install scripts. Link to comment Share on other sites More sharing options...
josh Posted October 30, 2010 Report Share Posted October 30, 2010 AFAIK you cannot install apps without internet connection since Ketarin needs internet connection to resolve variables ... Link to comment Share on other sites More sharing options...
floele Posted October 30, 2010 Report Share Posted October 30, 2010 It depends on the variables, yep. I believe that it should be possible to create setup instructions without variables that require an internet connection, if you have any problematic apps, feel free to post them. Link to comment Share on other sites More sharing options...
Rarst Posted October 30, 2010 Author Report Share Posted October 30, 2010 The only variable is used in some is {file}. Is Internet connection required to resolve it? I am just installing (not updating and installing, file is updated and in place). Here is XML export of one of problematic ones: <?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="ff96c460-a905-472d-a3c0-3340be783ba4"> - <SourceTemplate> - <![CDATA[ ]]> </SourceTemplate> <WebsiteUrl /> <UserAgent /> <UserNotes /> <LastFileSize>2826192</LastFileSize> <LastFileDate>2010-09-21T19:40:37.859375</LastFileDate> <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> - <SetupInstruction xsi:type="StartProcessInstruction"> <EnvironmentVariables /> <FileName>{file}</FileName> <Parameters>-install</Parameters> </SetupInstruction> </SetupInstructions> <Variables /> <ExecuteCommand /> <ExecutePreCommand /> <ExecuteCommandType>Batch</ExecuteCommandType> <ExecutePreCommandType>Batch</ExecutePreCommandType> <Category /> <SourceType>FileHippo</SourceType> <PreviousLocation>c:\software\install_flash_player_ax.exe</PreviousLocation> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId>flashplayer_ie</FileHippoId> <LastUpdated>2010-09-21T19:40:37.859375</LastUpdated> <TargetPath>c:\software\</TargetPath> <FixedDownloadUrl /> <Name>Flash Player (IE)</Name> </ApplicationJob> </Jobs> Link to comment Share on other sites More sharing options...
Tomorrow Posted October 30, 2010 Report Share Posted October 30, 2010 Intresting.I was under the impression that selecting "Install" instead of "Update and Install" below the app list would simply run trough the installations like: 1.exe /s Installed 2.msi /qn Installed ...and so on.And would not require any internet connectivity. Link to comment Share on other sites More sharing options...
floele Posted October 30, 2010 Report Share Posted October 30, 2010 I see what the problem is, it tries to determine the FH version info (unnecessarily). Will fix that for the next version. Link to comment Share on other sites More sharing options...
josh Posted October 30, 2010 Report Share Posted October 30, 2010 Dunno why but most of my jobs fail to install without internet connection, the one's i pasted below don't use Filehippo or try to resolve version <?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="68e814c2-d1a4-4e44-9c0c-e6f2e6c9f603"> <SourceTemplate><![CDATA[]]></SourceTemplate> <WebsiteUrl /> <UserAgent /> <UserNotes /> <LastFileSize>44089904</LastFileSize> <LastFileDate>2010-09-01T18:50:41.5221206</LastFileDate> <IgnoreFileInformation>false</IgnoreFileInformation> <DownloadBeta>Avoid</DownloadBeta> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly>true</CheckForUpdatesOnly> <VariableChangeIndicator /> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>true</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.avira.com/en/free-download-avira-antivir-personal</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\AntiVirPersonal.exe</PreviousLocation> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated>2010-09-01T18:50:41.5221206</LastUpdated> <TargetPath>{root}USB-Toolkit\Install\{appname}.{url:ext}</TargetPath> <FixedDownloadUrl>http://dlce.antivir.com/package/wks_avira/win32/en/pecl/avira_antivir_personal_en.exe</FixedDownloadUrl> <Name>AntiVirPersonal</Name> </ApplicationJob> <ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Guid="0d0ae461-aca1-4a26-8193-dd9706c5404a"> <SourceTemplate><![CDATA[]]></SourceTemplate> <WebsiteUrl /> <UserAgent /> <UserNotes /> <LastFileSize>2432520</LastFileSize> <LastFileDate>2010-10-14T14:22:47.6757386</LastFileDate> <IgnoreFileInformation>false</IgnoreFileInformation> <DownloadBeta>Avoid</DownloadBeta> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator /> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <HttpReferer /> <SetupInstructions> <SetupInstruction xsi:type="StartProcessInstruction"> <EnvironmentVariables /> <FileName>{file}</FileName> <Parameters>/S</Parameters> </SetupInstruction> </SetupInstructions> <Variables> <item> <key> <string>homepage</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>http://www.belarc.com/free_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\BelarcAdvisor.exe</PreviousLocation> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated>2010-10-14T14:22:47.6757386</LastUpdated> <TargetPath>{root}USB-Toolkit\{category}\{appname}.{url:ext}</TargetPath> <FixedDownloadUrl>http://www.belarc.com/Programs/advisor.exe</FixedDownloadUrl> <Name>BelarcAdvisor</Name> </ApplicationJob> <ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Guid="b855adaf-fe66-4ce8-9c4c-76f39e1dcdb9"> <SourceTemplate><![CDATA[]]></SourceTemplate> <WebsiteUrl /> <UserAgent /> <UserNotes /> <LastFileSize>1941208</LastFileSize> <LastFileDate>2010-10-29T11:43:58.6033409</LastFileDate> <IgnoreFileInformation>false</IgnoreFileInformation> <DownloadBeta>Avoid</DownloadBeta> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator /> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>true</ExclusiveDownload> <HttpReferer /> <SetupInstructions> <SetupInstruction xsi:type="StartProcessInstruction"> <EnvironmentVariables /> <FileName>{file}</FileName> <Parameters>/S</Parameters> </SetupInstruction> </SetupInstructions> <Variables> <item> <key> <string>homepage</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>http://www.piriform.com/ccleaner/builds</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\CCleanerSlim.exe</PreviousLocation> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated>2010-10-29T11:43:58.6033409</LastUpdated> <TargetPath>{root}USB-Toolkit\{category}\{appname}.{url:ext}</TargetPath> <FixedDownloadUrl>http://www.piriform.com/ccleaner/download/slim/downloadfile</FixedDownloadUrl> <Name>CCleanerSlim</Name> </ApplicationJob> <ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Guid="d3a27355-aa0c-4d53-9b10-36e0231e0746"> <SourceTemplate><![CDATA[]]></SourceTemplate> <WebsiteUrl /> <UserAgent /> <UserNotes /> <LastFileSize>8534336</LastFileSize> <LastFileDate>2010-10-19T21:29:32.173528</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>durl</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>Download Firefox - Free.+?["'](http://download.mozilla.org[^"']+)["']</Regex> <Url>http://www.mozilla.com/en-US/</Url> <Name>durl</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand /> <ExecutePreCommand /> <ExecuteCommandType>Batch</ExecuteCommandType> <ExecutePreCommandType>Batch</ExecutePreCommandType> <Category>Install</Category> <SourceType>FixedUrl</SourceType> <PreviousLocation>D:\USB-Toolkit\Install\Firefox.exe</PreviousLocation> <DeletePreviousFile>false</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated>2010-10-19T21:29:32.173528</LastUpdated> <TargetPath>{root}USB-Toolkit\{category}\{appname}.{url:ext}</TargetPath> <FixedDownloadUrl>{durl}</FixedDownloadUrl> <Name>Firefox</Name> </ApplicationJob> </Jobs> Link to comment Share on other sites More sharing options...
floele Posted October 30, 2010 Report Share Posted October 30, 2010 Yours works fine for me, but note that you disabled downloading for this app, so if the file is missing, Ketarin will need to download it and thus requires an internet connection. Link to comment Share on other sites More sharing options...
josh Posted October 30, 2010 Report Share Posted October 30, 2010 Wow you are right, culprit for me was install folder with setup files in a different relative path. That fixed, i got it working smoothly and all the issues i've found, so far, are related to Filehippo jobs like the one above. Sorry for false alarm i will not forget this lesson Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now