rejetto forum

Unattended installation of template

0 Members and 1 Guest are viewing this topic.

Offline Murder302

  • Occasional poster
  • *
    • Posts: 7
    • View Profile
Hello!
I want to make the unattended installation of HFS with my template. I tried it in SFX and run "hfs.exe RAWR.tpl" after extraction, but HFS show a request for installation.
Can you add command-line parameters for installation templates without requests?
(..\hfs.exe /s "template.tpl"), /s - silent, apply template without confirmation


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile

Offline Murder302

  • Occasional poster
  • *
    • Posts: 7
    • View Profile
I'm using HFS 2.3 build 1.92.
I try add to hfs.ini this : tpl-file=%ProgramFiles%\HFS\RAWR.tpl , but template don't applied. HFS understands the System Variables?
(You can make option to Enable/Disable question when installs Template...)
« Last Edit: July 30, 2008, 05:37:32 PM by Murder302 »


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile

Offline Murder302

  • Occasional poster
  • *
    • Posts: 7
    • View Profile
With that option i can make silent(unattended) installation of HFS with choosen template. I want it to include HFS in WinXP unattended installation, to prevent manually configure while Windows is installs.
And why varyable %ProgramFiles% dont work?..

PS:I don't know English very well...
« Last Edit: July 31, 2008, 01:24:31 PM by Murder302 »


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
%programFiles% don't work because that's the normal behaviour on Windows.
such things work only in the shell: command line and batch files *.
WHY don't you just use tpl-file=RAWR.tpl ?
i guess it's the best solution



*Indeed, "%programFiles%" is a valid file/folder name.


Offline Murder302

  • Occasional poster
  • *
    • Posts: 7
    • View Profile
Really it works!
I have created a blank VFS with template and add to hfs.ini tpl-file=RAWR.tpl.
Thanx!


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
my advice is to remove all unnecessary lines in hfs.ini, because default settings sometimes change for the better (like for mime-types) and you would leave your users behind


Offline Murder302

  • Occasional poster
  • *
    • Posts: 7
    • View Profile
For unattended installation i use only this lines:

HFS 2.3 beta - Build #194
window-max=yes
easy=no
tpl-file=RAWR.tpl
recent-files=default.vfs
trusted-files=default.vfs
minimize-to-tray=yes
tray-icon-for-each-download=no