Jump to content

AddReg problem in .inf file


Recommended Posts

Guest gradiation
Posted

Could someone please tell me how to leave a trailing backslash on the end of a string. According to microsoft you should just need to put the string in double quote marks ie "IPSMPathFolder"

However when i do this, and look at the reg string, it appears as IPSMPathFolder

I'm trying to get a .cab file to set up a windows media skin for you, any help would be apprechiated.

Guest The PocketTV Team
Posted

Use double double-quotes.

example:

HKCR,pockettv_mpgfileShellOpenCommand,,0x00000000,"""%InstallDir%PocketTV.exe"" ""%%1"""

will create:

HKCRpockettv_mpgfileShellOpenCommand

with a Default value of:

"IPSMProgram FilesPocketTVPocketTV.exe" "%1"

(i.e. 4 double-quotes in the value string)

and never use hard-coded PATH like IPSM etc

because on some smartphones, the IPSM folder will be called File Store or the like (someone reliable at MS told me that). So don't make that sort of mistake.

Also remember that the Program Files folder will be called differently on chinese phones. Use the predefined macros for all that.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.