Jump to content

Silent/Unattended Install The INF way!


Recommended Posts


On another note, Thanks MioKawaii for the inf files. They really are very clean. I will try the one for Winimage... after I edit out the ProToolz crap from the Start Menu/Programs directory:

[AddLink]
setup.ini, progman.groups,, ""group1="%16395%\Programs\ProToolz\"""

(shivers)

Oh and you definitely want to associate Winimage with ISO files too. It comes in very handy.

Link to comment
Share on other sites

On another note, Thanks MioKawaii for the inf files. They really are very clean. I will try the one for Winimage... after I edit out the ProToolz crap from the Start Menu/Programs directory:

[AddLink]
setup.ini, progman.groups,, ""group1="%16395%\Programs\ProToolz\"""

(shivers)

Just another thing with regards that line
  • %16395%\Programs

is the same as

  • %16386%

Link to comment
Share on other sites

On another note, Thanks MioKawaii for the inf files. They really are very clean. I will try the one for Winimage... after I edit out the ProToolz crap from the Start Menu/Programs directory:

[AddLink]
setup.ini, progman.groups,, ""group1="%16395%\Programs\ProToolz\"""

ProToolz is just the one of the programs group folder name that I throw ALL modified general tools related applications. I do not like long and cluttered start menu, so I group them into Protoolz, Netz, LanguageToolz,............. You can edit the INF and name it whatever you want.
Oh and you definitely want to associate Winimage with ISO files too. It comes in very handy.

I only use WinImage for Floppy image. CD/DVD image are associated with both UltraISO and DaemonTools. Again, you can edit the INF and associate it with any extensions you think appropriate. Everybody have different combination of softwares, thus an INF installer is the best suited here when come to flexibility and simplicity.
On another note, Thanks MioKawaii for the inf files. They really are very clean. I will try the one for Winimage... after I edit out the ProToolz crap from the Start Menu/Programs directory:

[AddLink]
setup.ini, progman.groups,, ""group1="%16395%\Programs\ProToolz\"""

(shivers)

Just another thing with regards that line
  • %16395%\Programs

is the same as

  • %16386%

Hahaha, you're really as sharp as an Eagle. This is a very OLD INF which I made together with dozens others when I first successfully make a complete INF for full install and Uninstall. It won't be done without yor help. Edited by MioKawaii
Link to comment
Share on other sites

  • 3 weeks later...
ok, i've found it, but it ask me where is foo_abx.dll...
I know nothing of this application, however from the above, I'm guessing that it's part of an additional component and if it doesn't exist will require removing from the relevant section in order to prevent the error message.
Edit [Core.Copy] + [Comp.Copy] section to customize your components installation.

[Comp.Copy]

foo_abx.dll

Link to comment
Share on other sites

i have another question...

i would like to modify the .inf in the way that

the Programs link (start menu) is created in the

All User folder.

Another thing i would like to do is a Desktop link.

Now i think that %16422% is a standard for inf

files...what is the variable for the All User folder?

Or can you paste me a link about inf files?

Link to comment
Share on other sites

Here is a small list for you:

  • %16386% is equivalent to %USERPROFILE%\Start Menu\Programs
    %16395% is equivalent to %USERPROFILE%\Start Menu
    %16400% is equivalent to %USERPROFILE%\Desktop
    %16406% is equivalent to %ALLUSERSPROFILE%\Start Menu
    %16407% is equivalent to %ALLUSERSPROFILE%\Start Menu\Programs
    %16409% is equivalent to %ALLUSERSPROFILE%\Desktop

For what you have requested try replacing the entire [AddLink] section with the following

[AddLink]
setup.ini, progman.groups,, "group0=""%16407%\%APPZ%\"""
setup.ini, group0,,"%APPZ%,""""""%16422%\%APPZ%\foobar2000.exe"""""""
setup.ini, progman.groups,, "group1=""%16407%\%APPZ%\Help\"""
setup.ini, group1,,"FAQ,""""""%16422%\%APPZ%\FAQ.html"""""""
setup.ini, progman.groups,, "group2=""%16407%\%APPZ%\Help\"""
setup.ini, group2,,"""Title Format"",""""""%16422%\%APPZ%\titleformat_help.html"""""""
setup.ini, progman.groups,, "group3=""%16407%\%APPZ%\Help\"""
setup.ini, group3,,"""DB Search"",""""""%16422%\%APPZ%\foo_dbsearch_help.html"""""""
setup.ini, progman.groups,, "group4=""%16407%\%APPZ%\Help\"""
setup.ini, group4,,"""Playlist Generator"",""""""%16422%\%APPZ%\foo_playlistgen_ex.html"""""""
setup.ini, progman.groups,, ""group5="%16410%\%QLAUNCH%\"""
setup.ini, group5,,"%APPZ%,""""""%16422%\%APPZ%\foobar2000.exe"""""""
setup.ini, progman.groups,, "group6=""%16409%\"""
setup.ini, group6,,"%APPZ%,""""""%16422%\%APPZ%\foobar2000.exe"""""""

Link to comment
Share on other sites

OK the mod works perfectly.

The only bug is in the disinstallation

process, when i open Control Panel ->

and try to remove foobar, the first

click on the "Remove" button erase

files only, while the second remove

entry and links.

Link to comment
Share on other sites

i have another question...

i would like to modify the .inf in the way that

the Programs link (start menu) is created in the

All User folder.

use "ProfileItems" instead "AddLink"

[DefaultInstall]
ProfileItems=profile-items-section


[profile-items-section]
Name=link-name[,name-attributes]
CmdLine=dirid,[subdir],filename
[SubDir=path]
[WorkingDir=wd-dirid,wd-subdir]
[IconPath=icon-dirid,[icon-subdir],icon-filename]
[IconIndex=index-value]
[HotKey=hotkey-value]
[Infotip=info-tip]
[DisplayResource="ResDllPath\ResDll",ResID]    (Windows XP and later)

Examples

[profile-items-section]

Name = %Calc_DESC%

CmdLine = 11,, calc.exe

SubDir = %Access_GROUP%

WorkingDir = 11

InfoTip = %Calc_TIP%

[strings]

AccessGroup = "Accessories"

Calc_DESC = "Calculator"

Calc_TIP = "Performs basic arithmetic tasks with an on-screen calculator"

Edited by asbsamsf
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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...