Jump to content
Ketarin forum

Network connection required for setup functionality?


Rarst
 Share

Recommended Posts

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

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

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

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

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 ;)

 

Image_2010-10-30_22_55.jpg

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

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