rvj wrote: > > Thanks Im a little bit further today however Im having a problem with winreg > functions.. > I am trying to return the desktop path using the getValueString for > 'desktop' > > Unforunately I get the error message winreg.getValueString is not a > function (-229)
> > PS winreg returns -106 . Is this correct ? No. winreg should return null in the error case, it's supposed to be an object. I looked at the code and there are two separate bugs here, but basically you're hitting the one that makes sure the install transaction had been initiated. We could perhaps allow reading of the windows registry before the initInstall, but since you still couldn't change anything until then I'm not sure it's worth the work. On the other hand the current mechanism might allow someone to abuse the winreg object after performInstall, and that'd be bad too. -Dan Veditz
