PDA

View Full Version : Get Registry Value...



NewsArchive
06-11-2005, 09:04 AM
The %_SB_ERRORCODE% is returning 0 but always returning the "Default"
Value...

I have tried this with a "Known Key" and an "Unknown Key" and it always
returns the default Value.

NewsArchive
06-11-2005, 09:04 AM
Kevin,

Just tested this. If the function succeeds, the %_SB_ERRORCODE% return
value is nonzero (1).

If the function fails, the return value is zero (0).

So if it is 0, then %SBR_INSTALLTYPE% should return the "Default" value.

Does this help?

Friedrich

--
Friedrich Linder
CEO, Lindersoft
www.lindersoft.com
1.954.252.3910

"point. click. ship" - that's SetupBuilder 5