Jump to content

Recommended Posts

Posted

Arrrgh!!! This thread gives me a headache!

Also, then I try to copy and paste from those CODEBOX windows into Notepad, I loose all the carrage returns.


Posted

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.

Posted
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%

Posted (edited)
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
  • 3 weeks later...
Posted

my foobar inf installation doesn't works!

I've seen the inf and i don't understand where

the installer takes the variable %APPZ%...

Posted

Look in the 'Strings' section, usually near or at the end

[Strings]
APPZ = "foobar2000"

Therefore every time you see '%APPZ%' in the body of the inf it is replacing the string 'foobar2000'

Posted (edited)

ok, i've found it, but it ask me where is foo_abx.dll...

and with the 7zip archive it ask me where to extract the files.

Edited by Kapo
Posted
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

Posted

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?

Posted

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"""""""

Posted

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.

Posted

Not wishing to sound like a bad sport here, but I'll give MioKawaii an opportunity to reply, further, as I don't wish to take over their thread and /or additionally re-write their inf.

Posted (edited)
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

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