Jump to content

Need help w/ .cab file creation...


Recommended Posts

Guest sdvick
Posted

I just finished using Richie M's awsome tutorial on writing a .inf file and using it w/ the CabWizSP to create my first cab file. However, I've run into one problem.

I'm trying to modify the registry w/ the .cab file but the string I want to modify needs quotes around it and every attempt I've made has failed to do what I need. I've tried the following two methods to create the .cab file.

[RegEdit]

HKLM,Software\Microsoft\Shell\RAI\:MSCALENDAR,1,0x00000000,""\Storage\Program Files\Power Calendar\devonepowercalendar.exe""

I've also tried this:

[strings]

PowCal = ""\Storage\Program Files\Power Calendar\devonepowercalendar.exe""

[RegEdit]

HKLM,Software\Microsoft\Shell\RAI\:MSCALENDAR,1,0x00000000,%PowCal%

Neither one of the methods created the string right when I installed the .cab file. Does anyone know how I can get the string to create w/ the necessary quotes?

Thanx,

Scott

SMT5600

Guest chucky.egg
Posted
[RegEdit]

HKLM,Software\Microsoft\Shell\RAI\:MSCALENDAR,1,0x00000000,""\Storage\ProgramĀ  Files\Power Calendar\devonepowercalendar.exe""

I don't have a phone to try this on, but doesn't this work (with three quotes at each end):

HKLM,Software\Microsoft\Shell\RAI\:MSCALENDAR,1,0x00000000,"""\Storage\Program Files\Power Calendar\devonepowercalendar.exe"""

I had similar problems - the string needs to be in quotes, plus you need double quotes where you want quotes to be in the string, hence 3 quotes at each end to produce "\Storage\Program Files\Power Calendar\devonepowercalendar.exe" as the value

Not 100% sure, but I think it'll work

Guest sdvick
Posted (edited)

HKLM,Software\Microsoft\Shell\RAI\:MSCALENDAR,1,0x00000000,"""\Storage\ProgramĀ  Files\Power Calendar\devonepowercalendar.exe"""

Worked perfectly!! Thanx.

Edited by sdvick

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.