Jump to content

Neep help with this INF file


Worf

Recommended Posts

No the start menu group and shortcut is not being created.

Try to do what I explained, that should work. Also, try to remove your "infotip" in your .inf. That may sound weired but I have actually had that issue with some programs, not sure why though so I just do it the way I posted.

Link to comment
Share on other sites


:thumbup Well after a lot of messing about, checking and checking the inf file i have finaly got it working.

There was a mistake in one of the files which was not getting installed and was preventing the creation of the shortcuts.

Thank you to all who as helped me here.

Link to comment
Share on other sites

CHRONOSMAIN = "Retro Games\Chronos"

CHRONOSFONT = "Retro Games\Chronos\Font"

CHRONOSLEVEL = "Retro Games\Chronos\Level"

CHRONOSSFX = "Retro Games\Chronos\Sfx"

CHRONOSGFX = "Retro Games\Chronos\Gfx"

I'm still seeing spaces!!!

They are quoted dun worry
Link to comment
Share on other sites

  • 2 years later...

Hi,

I am having similar problems of shortcuts not being created. In my case, I changed the install path, but I'm not sure how to

specify the path for the shortcut entries.

The following works, but has the wrong path for me:

[PROG.AddShortcut]

Name =%SRTC_NAME%

CmdLine =16422,%PROG_DIR%,%PROG_1%

WorkingDir =16422,%PROG_DIR%

SubDir =%PROG_SDIR%

InfoTip =%PROG_INFO%

The following doesn't work and I get a pop-up at the end of install that the inf is inconsistant.

How do i specify c:\toolbx to replace 16422 (c:\program files)?

[PROG.AddShortcut]

Name =%SRTC_NAME%

CmdLine =c:\toolbx,%PROG_DIR%,%PROG_1%

WorkingDir =c:\toolbx,%PROG_DIR%

SubDir =%PROG_SDIR%

InfoTip =%PROG_INFO%

Thanks for any pointers.

Link to comment
Share on other sites

Try the following:

CmdLine =24,toolbx\%PROG_DIR%,%PROG_1%
WorkingDir =24,toolbx\%PROG_DIR%

Edited by 5eraph
Link to comment
Share on other sites

Try the following:

CmdLine =24,toolbx\%PROG_DIR%,%PROG_1%
WorkingDir =24,toolbx\%PROG_DIR%

Thanks Seraph. Where can I find out what the numbers mean when used in an .inf ?

I assume these numbers are predefined and 24=C:\, but I'm sure there's more to it

than that. Are the different parameter keyword= and [sections] explained somewhere?

My problem is I don't know how to code .inf files so they work after I'm done :)

Ciao ...

Link to comment
Share on other sites

Thanks Seraph. Where can I find out what the numbers mean when used in an .inf ?

I assume these numbers are predefined and 24=C:\, but I'm sure there's more to it

than that. Are the different parameter keyword= and [sections] explained somewhere?

You're welcome, click-click. :)

ricktendo64 has nice tutorials—they're definitely worth checking out.

I first found the INF directory IDs (LDIDs) in gosh's list here on MSFN. It's part of an old site of his that was once hosted here and is currently still available for archival purposes. More information on INF sections can also be found on ryston.com.

Edited by 5eraph
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...