I create MSI's which need to be farely open for platform changes. These MSI's offten need to set data to a user's home drive.
The home drive of the current user is described in HKCU\Volatile Environment\Homedrive.
I read this value with Reglocator (and Appsearch) table. Next i put the found value in the MYHOMEDRIVE (public) property. When i run this installation under an admin user, my custom action, which consist of:
"Msgbox Session.Property("MYHOMEDRIVE")",
will display the correct reg. value.
When i run this under a domain user, the custom action won't return anything at all.
I tried rescheduling the action, but since i already put it after installinitialize, i think it should normally work.... right?!.
Also it gets a bit weirder (for me at least

When i advertise the same package under a domain user, and next activate installation by using the advertised shortcut, or i execute a forced repair after installation, the custom action displays the correct value.
So i searched uncle google. -can't find it.
I searched mr. SDK. -no answers there....
I hope someone can enlighten me here

Thx in advance