Closed ejongejans closed 2 months ago
Hallo, somehow it looks like your exe search in wrong registry TreeView. There is x86 and x64 Registry TreeView. There is example from oleg, for x64-Registry Treeview or x64-Bit Process. Just search in Release source code and try it. MSI is always x86 and your process, maybe compiled for x64.
maybe this link helps : https://stackoverflow.com/questions/974038/reading-64bit-registry-from-a-32bit-application
best regarsds, Torchok.
MSI is always x86 and your process, maybe compiled for x64.
Correct. MSI session is always x86 since it is x86 Windows service. This is the limitation of MSI technology.
Hi,
I don't have direct access to the registry location code. (bought component :S ) There is in that case nothing to do about it correct?
But what I don't understand is why does my 64bit app startup as 32bit? There is just 1 .exe installed in the program files, and this is a .NET8 app, compiled for 64bit.
Is the MSI forcing that as a 32bit process somehow?
And chaining something with a new launcher.exe in the middle that starts the final .exe wouldn't help either I guess.. ?
thx Elco
according to MS : NET Framework cant be used together with .NET 7+ or higher. your WixSharp outgoing MSI is build in .NET Framework, but your components are in .NET 8 . It can be, that msi doesnt find your .NET 8 Registry components, because of different NET Framwework Architecture. If so, you will need to use Wixv4 with WixSharp v4. There is no another solution, i'm afraid.
Ok thanks! Then it will be a future todo when we rebuild the licensing library.
kind regards Elco
Hi,
I'm trying to open our installed .exe, after installing it. With the code below. That works fine.
But somehow I get a dialog from our licensing library (integrated in .exe), saying it's in evaluation mode of our software. There is a valid license installed in in the local user registry.
But somehow, when the process is started from the installer it can't access that registry key and looks somewhere else. Where i'm not sure at the moment.
How to prevent that? Or what exactly is different when a .exe is started from the .msi like this?
I've tried to set the InstallPrivileges to limited, but that doesnt' seem to make a difference.
Of course, when I start the installed .exe as normal; it doesn't happen and it finds the installed license correctly.
OS: windows 10, up to date.
Thanks for any help
kind regards Elco