search for: spinst_registry

Displaying 1 result from an estimated 1 matches for "spinst_registry".

2007 Mar 19
2
wineprefixcreate: msiexec.exe -- "Failed to open the service control manager"
...); if (status == ERROR_SUCCESS) { RegCloseKey(hkey); } ^^^^^^^^ However, this seems kludgey and intuitively does not seem the proper way to do things. Putting it in the wine.inf won't work, because installing services (SPINST_REGSVR) comes before installing registry keys (SPINST_REGISTRY). I have also commented out the msiexec.exe from the RegisterDllsSection, and added wine msiexec.exe /RegServer after the setupapi.dll,InstallHinfSection, and this works, but this also seems like a kludge. What is the proper way to guarantee the key exists before encountering the msiexec.exe...