Jump to content
Sign in to follow this  
Alpha_95

[Solved]Invalid data INF

Recommended Posts

Hello,

I make right click, install, the window opens and asks me to install the i386 folder is created but after I get the error Invalid data...

I tried modifying an inf file that works and the same, the same mistake ...

An issue of law to copy the files on the desktop?

INF :

http://pastebin.com/cMkaqGAb

Thanks for help

Cordialy

Edited by Alpha_95

Share this post


Link to post
Share on other sites

Your profileitems are all messed up you are creating links on the desktop to url's on the same desktop, did you know you can create .url files with profileitems why not do that

Try this

[Example.AddURL]
Name =MAJ Chipset Intel,8,16
URL =http://www.whatever.com
;SubDir =
IconPath=10,,Custos.dll
IconIndex=7

Share this post


Link to post
Share on other sites

Ok.

Update profilitems and error persist...

fgcba report a warning :

!- 2 warning(s):

- Unassigned variable: %3A%; Check [bP.AddShorcut]!

- Unassigned variable: %2Fwww.ibps.alsace.banquepopulaire.fr%; Check

[bP.AddShorcut]!

!- 2 warning(s).

.

Edited by Alpha_95

Share this post


Link to post
Share on other sites
Guest

also seems problem from copy section

i just keep Copy.Files in copy section and all shortcut created

ok change to this

Copy2 = 16384,Lang

Copy3 = 16384,Photo a imprim

Edited by mona

Share this post


Link to post
Share on other sites

Profilitems = 16425 in .pdf file :s

I have changed to :


CmdLine = 11,,"shutdown.exe -r -t 0"

Error persist :(

New INF :

http://pastebin.com/ZfLcDVUa

edit:

I created a SFX archive that points to the desktop containing my files and on the inf, I unclus the links and shortcuts and everything works for the better.

Edited by Alpha_95

Share this post


Link to post
Share on other sites

Please modify/change the following to:


[Custos]
CopyFiles = CopyDT.Files,Photo.Files,Conf.Files,system32.copy

[Installer]
copyfiles = @Custos.inf,CopyDT.Files,Photo.Files,Conf.Files,system32.copy

[DestinationDirs];<--- Your dest dir syntax was wrong. That is why you got error. Below are the right ones.
CopyDT.Files =16384
Photo.Files =16384,Photo a imprim
Conf.Files =16384,Photo a imprim\Lang ;not sure this is the exact path, please modify accordingly

[CopyDT.Files] ;<-- better avoid using name that is same as Copy.Files directive
;bla bla bla files

[Create.i386]
CMD /Q/C MD """%1%\i386""" & COPY /D/Y """%1%\*.cab""" """%1%\i386"""

Note: I did not check if profileitems are okay or not.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...