"Could not be opened by RegCreateKeyEx"
Verfasst: 07 Dez 2012, 13:39
Hi
I am trying to create a package with Foxit-PDF-Reader for practise (i know you can find the code on the wiki).
I am trying to edit some REG-keys after installation:
However when i test the package with "winst32" i get errors when trying to open the key.
Can it be the extra backslash in front of HKEY_CURRENT_USER which is causing the error? (why did it put it there? its not in the code)
I have tried installing Foxit and browsing to the key and copy the direct path. I have also set permissions on the catalog with "opsi-setup --set-rights".
Best Regards,
Soren
I am trying to create a package with Foxit-PDF-Reader for practise (i know you can find the code on the wiki).
I am trying to edit some REG-keys after installation:
Code: Alles auswählen
[Registry_install]
OpenKey [HKEY_CURRENT_USER\Software\Foxit Software\Foxit Reader 5.0\plugins\Updater]
set "IsAutoUpdater"="0"
set "UpdateMode"="0"
Code: Alles auswählen
Execution of Registry_install
Error: Registry key [HKEY_CURRENT_USER\\Software\Foxit Software\Foxit Reader 5.0\plugins\Updater] could not be opened by RegCreateKeyEx,
Errorno: 161 "The path is invalid"
Error: Variable "......
I have tried installing Foxit and browsing to the key and copy the direct path. I have also set permissions on the catalog with "opsi-setup --set-rights".
Best Regards,
Soren