Hi:
For some reason I'm not being able to write in the registry, any ideas? here is the call:
WriteRegStr HKCR "CLSID\{1339B54C-3453-11D2-93B9-000000000000}\Implemented Categories\" "" ""
It never gets to write "Implemented Categories" for some reason I can't write on the CLSID entry, because, if I change CLSID for something else, it does create the entry. Is this a permission problem? how can i get around?
Thanks.
can't write in the registry
11 posts
Is your installer running as an Administrator?
...
RequestExecutionLevel admin
...
...assuming the machine is running Windows Vista.
Stu
Stu
No windows vista. Just XP. Yeah, I think I'm running as admin.
So I made sure that I put that line of code for being executed as admin, but still no luck. I also tried this:
Since my installer is silent, once its done copying all the files, I would call to execute a .reg file that would put thos e entries in the registry. but no luck either. Any ideas?
thanks.
Since my installer is silent, once its done copying all the files, I would call to execute a .reg file that would put thos e entries in the registry. but no luck either. Any ideas?
thanks.
Nevermind, executing the reg file works. Still ask for user interaction and I can't do that, my installer has to be silent.
Did you add the "/s" switch when you run the reg file? it won't have any interaction (on XP) if you do that.
this is what i have on that line:
ExecShell "/s" "open" "$INSTDIR\mozactivex.reg"
as soon as I include the /s it won't run the reg file.
ExecShell "/s" "open" "$INSTDIR\mozactivex.reg"
as soon as I include the /s it won't run the reg file.
I tried ExecShell "open" /s "$INSTDIR\mozactivex.reg" but it won't write it. any ideas?
Exec 'regedit.exe /s "$INSTDIR\mozactivex.reg"'