Re: msi: source one off error correction

2005-07-11 Thread Aric Stewart
True, there shouldn't be because that string is of format ;; but i will work out some better error checking to handle garbage strings more gracefully. -aric Mike McCormack wrote: Aric Stewart wrote: rc = RegQueryValueExW(sourcekey, INSTALLPROPERTY_LASTUSEDSOURCEstringW,

Re: msi: source one off error correction

2005-07-11 Thread Mike McCormack
Aric Stewart wrote: rc = RegQueryValueExW(sourcekey, INSTALLPROPERTY_LASTUSEDSOURCEstringW, 0, 0, (LPBYTE)buffer,&size); ptr = strchrW(buffer,';'); +ptr ++; ptr = strchrW(ptr,';'); if (!ptr)