[wix-users] Registry search weirdness
John Naylor
mejohnnaylor at mac.com
Mon Jul 4 20:21:27 PDT 2016
I found this line in the log, just before the script gets invoked:
MSI (s) (B0:04) [22:19:51:193]: Hello, I'm your 32bit Elevated Non-remapped custom action server.
32 bit. Smoking gun?
> On Jul 4, 2016, at 9:18 PM, John Naylor <mejohnnaylor at mac.com> wrote:
>
> I have a powershell script that installs and runs just fine.
>
> When I try to run it during the install as a custom action I get a failure message in the log, and the install rolls back.
>
> The problem line in the script is:
>
> $myvar = Get-ItemProperty HKLM:SOFTWARE\path\to\property
>
> The error in the log is that the item cannot be found.
>
> Running this line at the powershell prompt, or invoking the script its in produces the expected result.
>
> Does the installer prevent access to the registry during installation or something? I can't figure this one out.
>
> Thx!
>
> Sent from my iPhone. Please excuse brevity and auto-corruptions.
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
More information about the wix-users
mailing list