MSFN Forum: Neep help with this INF file - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Neep help with this INF file This one not installing for somereason Rate Topic: -----

#1 User is offline   Worf 

  • Worf
  • PipPip
  • Group: Members
  • Posts: 187
  • Joined: 26-October 04

Posted 01 April 2008 - 10:28 AM

Hi.

I am learning to write inf file to install some programs, the ones i have done so far install ok but for some reason this one does not and i have used one of the others as a template.

 
[Version]
Signature="$WINDOWS NT$"

[Optional Components]
retrogames

[retrogames]
OptionDesc = "Retro Games"
Tip = "Play Retro Games From The Past On Your PC."
Modes = 0,1,2,3
Copyfiles = CopyChronosMain,CopyChronosFont,CopyChronosLevel,CopyChronosSfx,CopyChronosGfx

[SourceDisksNames.x86]
1 = "Retro Game Files","retro.cab",,"i386"

[DestinationDirs]
CopyChronosMain = 16422,%CHRONOSMAIN%
CopyChronosFont = 16422,%CHRONOSFONT%
CopyChronosLevel = 16422,%CHRONOSLEVEL%
CopyChronosSfx = 16422,%CHRONOSSFX%
CopyChronosGfx = 16422,%CHRONOSGFX%

[SourceDisksFiles]
Chronos.exe =1
Chronos.html =1
Chronos.png =1
Chronos2.png =1
Chronos2.png.jfm =1
Chronos3.png =1
Chronos3.png.jfm =1
Chronos.png.jfm =1
Style.css =1
hiscore.dat =1
levelhigh.dat =1
levelmid.dat =1
levellow.dat =1
profile.dat =1
beep.wav =1
chrono.mp3 =1
explodemid.wav =1
levelbonus.wav =1
timegate.wav =1
vbonus.wav =1
vgameover.wav =1
vmulti.wav =1
vshield.wav =1
vtarget50.wav =1
vtimefield.wav =1
vtriple.wav =1
beeplow.wav =1
explode.wav =1
laser.wav =1
stun.wav =1
turret.wav =1
vexlife.wav =1
vlbonus.wav =1
vreact.wav =1
vtarget25.wav =1
vtargetdestroyed.wav =1
vtitle.wav =1
zap.wav =1
background.png =1
ballnasty.png =1
bonusbooster.png =1
bonuslevel.png =1
bonusmulti.png =1
bonusscore.png =1
bonusshield.png =1
bonustriple.png =1
border.png =1
bullet.png =1
bullet-x.png =1
coinnasty.png =1
down.png =1
endboss.png =1
explosion.png =1
eyes.png =1
lasburst.png =1
logo.png =1
logo2.png =1
mcursor.png =1
missilenasty.png =1
pulse.png =1
pulse2.png =1
pulse3.png =1
saurcernasty.png =1
shield.png =1
ship.png =1
shipflame.png =1
slabnasty.png =1
smoke.png =1
splash.png =1
squarenasty.png =1
stars.png =1
system.png =1
tbullet.png =1
title.png =1
up.png =1
warp.png =1
world.png =1
yingnasty.png =1

[CopyChronosMain]
Chronos.exe
Chronos.html

[CopyChronosFont]
chronos.png
chronos.png.jfm
chronos2.png
chronos2.png.jfm
chronos3.png
chronos3.png.jfm
style.css

[CopyChronosLevel]
hiscore.dat
levelhigh.dat
levelmid.dat
levellow.dat
profile.dat

[CopyChronosSfx]
beep.wav
chrono.mp3
explodemid.wav
levelbonus.wav
timegate.wav
vbonus.wav
vgameover.wav
vmulti.wav
vshield.wav
vtarget50.wav
vtimefield.wav
vtriple.wav
beeplow.wav
explode.wav
laser.wav
stun.wav
turret.wav
vexlife.wav
vlbonus.wav
vreact.wav
vtarget25.wav
vtargetdestroyed.wav
vtitle.wav
zap.wav

[CopyChronosGfx]
background.png
ballnasty.png
bonusbooster.png
bonuslevel.png
bonusmulti.png
bonusscore.png
bonusshield.png
bonustriple.png
border.png
bullet.png
bullet-x.png
coinnasty.png
down.png
endboss.png
explosion.png
eyes.png
lasburst.png
logo.png
logo2.png
mcursor.png
missilenasty.png
pulse.png
pulse2.png
pulse3.png
saucernasty.png
shield.png
ship.png
shipflame.png
slabnasty.png
smoke.png
splash.png
squarenasty.png
stars.png
system.png
tbullet.png
title.png
up.png
warp.png
world.png
yingnasty.png

[Strings]
RETROGAMES = "Retro Games"
CHRONOSMAIN = "Retro Games\Chronos"
CHRONOSFONT = "Retro Games\Chronos\Font"
CHRONOSLEVEL = "Retro Games\Chronos\Level"
CHRONOSSFX = "Retro Games\Chronos\Sfx"
CHRONOSGFX = "Retro Games\Chronos\Gfx"

 


Many Thanks For Any Help

Worf


#2 User is offline   Yzöwl 

  • Wise Owl
  • Group: Super Moderator
  • Posts: 4,195
  • Joined: 13-October 04
  • OS:Windows 7 x64

Posted 01 April 2008 - 03:46 PM

Would it have something to do with using unquoted destination directories containing spaces?

#3 User is offline   ricktendo64 

  • Group: Banned Members
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,125
  • Joined: 06-June 06
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 01 April 2008 - 04:30 PM

I wanna recommend to you a program by n7Epilson called FGCBA, you use it to test your entries.ini and inf files

 
**** FGCBA 0.897 * by n7Epsilon * [url="http://tinyurl.com/lslmm"]http://tinyurl.com/lslmm[/url] ****
- Starting Logger "All your bug are report by me!!" -

I: Date/Time of execution: 4/1/2008 10:27:57 PM UTC

I: Specified Parameters:
  * C:\Documents and Settings\Administrator\Desktop\test.inf
  * /log:C:\Documents and Settings\Administrator\Desktop\log_test.txt

I: Dump of ParamsTable (ArgumentParser v2):
  * log = C:\Documents and Settings\Administrator\Desktop\log_test.txt


I: ExtINFParser engaged, attempting read "test.inf"

 ** Reading INF file: test.inf...
I: Read variables in [Strings] section:
	RETROGAMES = "Retro Games"
	CHRONOSMAIN = "Retro Games\Chronos"
	CHRONOSFONT = "Retro Games\Chronos\Font"
	CHRONOSLEVEL = "Retro Games\Chronos\Level"
	CHRONOSSFX = "Retro Games\Chronos\Sfx"
	CHRONOSGFX = "Retro Games\Chronos\Gfx"

- Warn: [DefaultInstall] section does not exist in test.inf
  * Parsing [Optional Components] section...
  * Parsing [retrogames] section...
   - Processing CopyFiles directive...
  * Parsing [SourceDisksNames.x86] section...
  * Parsing [SourceDisksFiles] section...
  * Parsing [DestinationDirs] section...
   - Parsing [CopyChronosMain] section...
   - Parsing [CopyChronosFont] section...
   - Parsing [CopyChronosLevel] section...
   - Parsing [CopyChronosSfx] section...
   - Parsing [CopyChronosGfx] section...
- Error: Orphaned file "saucernasty.png" in [CopyChronosGfx] This file was never referenced by [SourceDisksFiles] in test.inf!
- Error: "saurcernasty.png" is specified in [SourceDisksFiles] but not in any of the CopyFiles sections in test.inf!

 !- 1 warning(s):
  - [DefaultInstall] section does not exist in test.inf
 !- 1 warning(s).

 !- 2 error(s):
  - Orphaned file "saucernasty.png" in [CopyChronosGfx] This file was never
    referenced by [SourceDisksFiles] in test.inf! 

  - "saurcernasty.png" is specified in [SourceDisksFiles] but not in any of the
    CopyFiles sections in test.inf!
 !- 2 error(s).

 !!!!- Critical error(s) detected, process aborted.

- Stopping Logger - 

It says you have a typo. The SourceDisksFiles and CopyFiles filename do not match

Quote

[SourceDisksFiles]
saurcernasty.png =1

[CopyChronosGfx]
saucernasty.png

Yzöwl the spaces wont hurt if they are already quoted in strings

This post has been edited by ricktendo64: 01 April 2008 - 08:15 PM


#4 User is offline   Worf 

  • Worf
  • PipPip
  • Group: Members
  • Posts: 187
  • Joined: 26-October 04

Posted 01 April 2008 - 05:34 PM

Well ricktendo64, you have done it again thanks alot. I can now move on :thumbup

How i missed that i dont know, i had completely rewritten the inf file and still made a typo, thanks for the program, will sure use that to check my infs.

Once again thank you

Worf

#5 User is offline   LUZR4LIFE 

  • Member
  • PipPip
  • Group: Members
  • Posts: 101
  • Joined: 13-October 07

Posted 01 April 2008 - 06:17 PM

View Postricktendo64, on Apr 1 2008, 06:30 PM, said:

I wanna recommend to you a program by n7Epilson called FGCBA, you use it to test your entries.ini and inf files

 
**** FGCBA 0.897 * by n7Epsilon * [url="http://tinyurl.com/lslmm"]http://tinyurl.com/lslmm[/url] ****
- Starting Logger "All your bug are report by me!!" -

I: Date/Time of execution: 4/1/2008 10:27:57 PM UTC

I: Specified Parameters:
  * C:\Documents and Settings\Administrator\Desktop\test.inf
  * /log:C:\Documents and Settings\Administrator\Desktop\log_test.txt

I: Dump of ParamsTable (ArgumentParser v2):
  * log = C:\Documents and Settings\Administrator\Desktop\log_test.txt


I: ExtINFParser engaged, attempting read "test.inf"

 ** Reading INF file: test.inf...
I: Read variables in [Strings] section:
	RETROGAMES = "Retro Games"
	CHRONOSMAIN = "Retro Games\Chronos"
	CHRONOSFONT = "Retro Games\Chronos\Font"
	CHRONOSLEVEL = "Retro Games\Chronos\Level"
	CHRONOSSFX = "Retro Games\Chronos\Sfx"
	CHRONOSGFX = "Retro Games\Chronos\Gfx"

- Warn: [DefaultInstall] section does not exist in test.inf
  * Parsing [Optional Components] section...
  * Parsing [retrogames] section...
   - Processing CopyFiles directive...
  * Parsing [SourceDisksNames.x86] section...
  * Parsing [SourceDisksFiles] section...
  * Parsing [DestinationDirs] section...
   - Parsing [CopyChronosMain] section...
   - Parsing [CopyChronosFont] section...
   - Parsing [CopyChronosLevel] section...
   - Parsing [CopyChronosSfx] section...
   - Parsing [CopyChronosGfx] section...
- Error: Orphaned file "saucernasty.png" in [CopyChronosGfx] This file was never referenced by [SourceDisksFiles] in test.inf!
- Error: "saurcernasty.png" is specified in [SourceDisksFiles] but not in any of the CopyFiles sections in test.inf!

 !- 1 warning(s):
  - [DefaultInstall] section does not exist in test.inf
 !- 1 warning(s).

 !- 2 error(s):
  - Orphaned file "saucernasty.png" in [CopyChronosGfx] This file was never
    referenced by [SourceDisksFiles] in test.inf! 

  - "saurcernasty.png" is specified in [SourceDisksFiles] but not in any of the
    CopyFiles sections in test.inf!
 !- 2 error(s).

 !!!!- Critical error(s) detected, process aborted.

- Stopping Logger - 

It says you have a typo. The SourceDisksFiles and CopyFiles filename do not match

Quote

[SourceDisksFiles]
saurcernasty.png =1

[CopyChronosGfx]
saucernasty.png

Yzöwl the spaces wont hurt

D A M N you Rick. LMAO.

This post has been edited by LUZR4LIFE: 01 April 2008 - 06:18 PM


#6 User is offline   Worf 

  • Worf
  • PipPip
  • Group: Members
  • Posts: 187
  • Joined: 26-October 04

Posted 02 April 2008 - 03:49 AM

One other problem i need help with. My ProfileItems not creating a shortcut to the .EXE files, i've tried many ways but just can't get it to create the shortcut on the start menu, i've looked at how it is done and just copied it but still can't get it to work.


Many Thanks

Worf

#7 User is offline   Gorki 

  • Junior
  • Pip
  • Group: Members
  • Posts: 50
  • Joined: 26-May 07

Posted 02 April 2008 - 04:21 AM

Did you update your .inf so it looks something like this? You must create ProfileItems first.
This should do the work...

Quote

[retrogames]
OptionDesc = "Retro Games"
Tip = "Play Retro Games From The Past On Your PC."
Modes = 0,1,2,3
Copyfiles = CopyChronosMain,CopyChronosFont,CopyChronosLevel,CopyChronosSfx,CopyChronosGfx
ProfileItems=RG.AddShortcut

...
...
...

[RG.AddShortcut]
Name =Retro Games
CmdLine =16422,%CHRONOSMAIN%,Chronos.exe
SubDir =%CHRONOSMAIN%
WorkingDir =16422,%CHRONOSMAIN%
InfoTip =Retro Games


#8 User is offline   Worf 

  • Worf
  • PipPip
  • Group: Members
  • Posts: 187
  • Joined: 26-October 04

Posted 02 April 2008 - 06:28 AM

Yep thats what i have done but it just wont create the shortcuts in the start menu as below.

The destination dir is Program Files\Retro Games\Chronos

Start Menu\Retro Games\Chronos\Chronos.exe

ProfileItems = Chronos.AddShortcut

[Chronos.AddShortcut]
Name = Chronos
CmdLine = 16422,%CHRONOSMAIN%,Chronos.exe
SubDir = %CHRONOSMAIN%
WorkingDir = 16422,%CHRONOSMAIN%
InfoTip = An Old Spectrum Game


My other .inf file creates a shortcut but for some reason this one does not. Any other ideas?

Many Thanks

This post has been edited by Worf: 02 April 2008 - 06:33 AM


#9 User is offline   Yzöwl 

  • Wise Owl
  • Group: Super Moderator
  • Posts: 4,195
  • Joined: 13-October 04
  • OS:Windows 7 x64

Posted 02 April 2008 - 07:47 AM

Guess what?

I bet you knew I was going to say this, but.…

Did the working ones have spaces in their paths?

#10 User is offline   ricktendo64 

  • Group: Banned Members
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,125
  • Joined: 06-June 06
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 02 April 2008 - 09:24 AM

Did you by any chance add a [DefaultInstall] section with the same stuff thats under your OCEntry?

BTW the shortcut code looks good, it should be working

#11 User is offline   Worf 

  • Worf
  • PipPip
  • Group: Members
  • Posts: 187
  • Joined: 26-October 04

Posted 02 April 2008 - 11:28 AM

Hi Rick.

I've removed the spaces in the pathadd added the DefaultInstall and still no shortcut :angry:
below is the inf file again.

 
[Version]
Signature="$WINDOWS NT$"

[DefaultInstall]
Modes  = 0,1,2,3
Copyfiles  = CopyChronosMain,CopyChronosFont,CopyChronosLevel,CopyChronosSfx,CopyChronosGfx
ProfileItems = Chronos.AddShortcut

[Optional Components]
retrogames

[retrogames]
OptionDesc = "Retro Games"
Tip  = "Play Retro Games From The Past On Your PC."
Modes  = 0,1,2,3
Copyfiles  = CopyChronosMain,CopyChronosFont,CopyChronosLevel,CopyChronosSfx,CopyChronosGfx
ProfileItems = Chronos.AddShortcut

[SourceDisksNames.x86]
1 = "Retro Game Files","retro.cab",,"i386"


[DestinationDirs]
CopyChronosMain  = 16422,%CHRONOSMAIN%
CopyChronosFont  = 16422,%CHRONOSFONT%
CopyChronosLevel = 16422,%CHRONOSLEVEL%
CopyChronosSfx  = 16422,%CHRONOSSFX%
CopyChronosGfx  = 16422,%CHRONOSGFX%

[SourceDisksFiles]
Chronos.exe  =1
Chronos.htm  =1
Chronos.png  =1
Chronos2.png  =1
Chronos2.png.jfm =1
Chronos3.png  =1
Chronos3.png.jfm =1
Chronos.png.jfm  =1
Style.css  =1
hiscore.dat  =1
levelhigh.dat  =1
levelmid.dat  =1
levellow.dat  =1
profile.dat  =1
beep.wav  =1
chrono.mp3  =1
explodemid.wav  =1
levelbonus.wav  =1
timegate.wav  =1
vbonus.wav  =1
vgameover.wav  =1
vmulti.wav  =1
vshield.wav  =1
vtarget50.wav  =1
vtimefield.wav  =1
vtriple.wav  =1
beeplow.wav  =1
explode.wav  =1
laser.wav  =1
stun.wav  =1
turret.wav  =1
vexlife.wav  =1
vlbonus.wav  =1
vreact.wav  =1
vtarget25.wav  =1
vtargetdestroyed.wav =1
vtitle.wav  =1
zap.wav   =1
background.png  =1
ballnasty.png  =1
bonusbooster.png =1
bonuslevel.png  =1
bonusmulti.png  =1
bonusscore.png  =1
bonusshield.png  =1
bonustriple.png  =1
border.png  =1
bullet.png  =1
bullet-x.png  =1
coinnasty.png  =1
down.png  =1
endboss.png  =1
explosion.png  =1
eyes.png  =1
lasburst.png  =1
logo.png  =1
logo2.png  =1
mcursor.png  =1
missilenasty.png =1
pulse.png  =1
pulse2.png  =1
pulse3.png  =1
saurcernasty.png =1
shield.png  =1
ship.png  =1
shipflame.png  =1
slabnasty.png  =1
smoke.png  =1
splash.png  =1
squarenasty.png  =1
stars.png  =1
system.png  =1
tbullet.png  =1
title.png  =1
up.png   =1
warp.png  =1
world.png  =1
yingnasty.png  =1


[CopyChronosMain]
Chronos.exe
Chronos.htm


[CopyChronosFont]
chronos.png
chronos.png.jfm
chronos2.png
chronos2.png.jfm
chronos3.png
chronos3.png.jfm
style.css

[CopyChronosLevel]
hiscore.dat
levelhigh.dat
levelmid.dat
levellow.dat
profile.dat

[CopyChronosSfx]
beep.wav
chrono.mp3
explodemid.wav
levelbonus.wav
timegate.wav
vbonus.wav
vgameover.wav
vmulti.wav
vshield.wav
vtarget50.wav
vtimefield.wav
vtriple.wav
beeplow.wav
explode.wav
laser.wav
stun.wav
turret.wav
vexlife.wav
vlbonus.wav
vreact.wav
vtarget25.wav
vtargetdestroyed.wav
vtitle.wav
zap.wav


[CopyChronosGfx]
background.png
ballnasty.png
bonusbooster.png
bonuslevel.png
bonusmulti.png
bonusscore.png
bonusshield.png
bonustriple.png
border.png
bullet.png
bullet-x.png
coinnasty.png
down.png
endboss.png
explosion.png
eyes.png
lasburst.png
logo.png
logo2.png
mcursor.png
missilenasty.png
pulse.png
pulse2.png
pulse3.png
saurcernasty.png
shield.png
ship.png
shipflame.png
slabnasty.png
smoke.png
splash.png
squarenasty.png
stars.png
system.png
tbullet.png
title.png
up.png
warp.png
world.png
yingnasty.png


[Chronos.AddShortcut]
Name  = Chronos
CmdLine  = 16422,%CHRONOSMAIN%,Chronos.exe
SubDir  = %CHRONOSMAIN%
WorkingDir = 16422,%CHRONOSMAIN%
InfoTip  = An Old Spectrum Clasic Game


[Strings]
CHRONOSMAIN = "Retro Games\Chronos"
CHRONOSFONT = "Retro Games\Chronos\Font"
CHRONOSLEVEL = "Retro Games\Chronos\Level"
CHRONOSSFX = "Retro Games\Chronos\Sfx"
CHRONOSGFX = "Retro Games\Chronos\Gfx" 



below is an inf file i did that creates a shortcut

 
[Version]
Signature="$WINDOWS NT$"
Product=%product%
Version=%version%

[Optional Components]
pagedfrg

[pagedfrg]
OptionDesc  = "Page Defrag"
Tip         = "Defrags System File On Bootup"
Modes  = 0,1,2,3
Copyfiles = DestGrp,DestGrp1
AddReg = PagedFrg_Reg
ProfileItems = PagedfrgInstallItems,PagedfrgInstallHelp

[SourceDisksNames.x86]
1 = "pagedfrg",\win51ip,,\i386

[SourceDisksFiles]
pagedfrg.exe =1
pagedfrg.hlp =1

[DestinationDirs]
DestGrp = 10
DestGrp1 = 18

[DestGrp]
pagedfrg.exe

[DestGrp1]
pagedfrg.hlp

PagedfrgInstallItems]
Name       = Page Defrag
CmdLine    = 10,,Pagedfrg.exe
SubDir     = System Tools
WorkingDir = 10
pagedfrg_InfoTip = "Defrags System File On Bootup"

[PagedfrgInstallHelp]
Name       = Page Defrag Help
CmdLine    = 18,,Pagedfrg.hlp
SubDir     = System Tools
WorkingDir =18

[pagedFrg_Reg]
HKCU,"Software\Sysinternals\PageDefrag","EulaAccepted",0x10001,01

[Strings]
Product="Pagedfrg"
Version="1.0" 



I am pulling my hair out here

This post has been edited by Yzöwl: 02 April 2008 - 02:20 PM
Reason for edit: Code placed into Code Tags


#12 User is offline   Yzöwl 

  • Wise Owl
  • Group: Super Moderator
  • Posts: 4,195
  • Joined: 13-October 04
  • OS:Windows 7 x64

Posted 02 April 2008 - 02:18 PM

Quote

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

#13 User is offline   Worf 

  • Worf
  • PipPip
  • Group: Members
  • Posts: 187
  • Joined: 26-October 04

Posted 02 April 2008 - 02:48 PM

Hi Yzöwl

I removed Games in "Retro Games" as you can see below, but the shortcuts are still not being created.

CHRONOSMAIN = "Retro\Chronos"

As i said before the inf file 'pagedfrg' creates the shortcut.

I am wondering if it the one in bold that is the problem? I will try it out and report back

[Chronos.AddShortcut]
Name = Chronos
CmdLine = 16422,%CHRONOSMAIN%,Chronos.exe
SubDir = %CHRONOSMAIN%
WorkingDir = 16422,%CHRONOSMAIN%
InfoTip = An Old Spectrum Clasic Game

#14 User is offline   LUZR4LIFE 

  • Member
  • PipPip
  • Group: Members
  • Posts: 101
  • Joined: 13-October 07

Posted 02 April 2008 - 05:52 PM

View PostWorf, on Apr 2 2008, 04:48 PM, said:

Hi Yzöwl

I removed Games in "Retro Games" as you can see below, but the shortcuts are still not being created.

CHRONOSMAIN = "Retro\Chronos"

As i said before the inf file 'pagedfrg' creates the shortcut.

I am wondering if it the one in bold that is the problem? I will try it out and report back

[Chronos.AddShortcut]
Name = Chronos
CmdLine = 16422,%CHRONOSMAIN%,Chronos.exe
SubDir = %CHRONOSMAIN%
WorkingDir = 16422,%CHRONOSMAIN%
InfoTip = An Old Spectrum Clasic Game

Is the shortcut not being made or is it a broken icon?
When I have a issue with a shorcut I use this.
 

CREATE A SHOURTCUT FILE AND CHANGE PROPERTIES TO
%ProgramFiles% (ex. "C:\Unreal Tournament 3" to "%ProgramFiles%\Unreal Tournament 3"

THEN ADD:

[PROGRAM NAME]
CopyFiles =AddShortcut.Files

[DestinationDirs]
AddShortcut.Files =16407,STARTMENUFOLDER
; 16407 = %allusersprofile%\Start Menu\Programs
; 16386 = %userprofile%\Start Menu\Programs

[AddShortcut.Files]
SHORCUTNAME
 


Hope this helps.

#15 User is offline   Worf 

  • Worf
  • PipPip
  • Group: Members
  • Posts: 187
  • Joined: 26-October 04

Posted 02 April 2008 - 05:56 PM

No the start menu group and shortcut is not being created, but will try your method if i can't get it to work.

This post has been edited by Worf: 02 April 2008 - 05:58 PM


#16 User is offline   LUZR4LIFE 

  • Member
  • PipPip
  • Group: Members
  • Posts: 101
  • Joined: 13-October 07

Posted 02 April 2008 - 06:00 PM

View PostWorf, on Apr 2 2008, 07:56 PM, said:

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.

#17 User is offline   Worf 

  • Worf
  • PipPip
  • Group: Members
  • Posts: 187
  • Joined: 26-October 04

Posted 03 April 2008 - 07:39 AM

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

#18 User is offline   ricktendo64 

  • Group: Banned Members
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,125
  • Joined: 06-June 06
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 03 April 2008 - 11:02 PM

View PostYzöwl, on Apr 2 2008, 03:18 PM, said:

Quote

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

#19 User is offline   click-click 

  • Newbie
  • Group: Members
  • Posts: 25
  • Joined: 08-October 09

Posted 03 May 2010 - 09:45 AM

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.

#20 User is offline   5eraph 

  • Update Packrat
  • Group: Supreme Sponsor
  • Posts: 816
  • Joined: 04-July 05
  • OS:XP Pro x64
  • Country: Country Flag

Posted 03 May 2010 - 05:57 PM

Try the following:

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

This post has been edited by 5eraph: 03 May 2010 - 06:00 PM


Share this topic:


  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy