I use INNOSetup for my installer. I install and register over 24 DLLs during this process. As of late, up to 5 DLLs are not registering. I have writing a program that starts RegSvr32 to register each of these DLLs manually. It isn't always the same 5 DLLs, but it is commonly 2 of them. Most machines just work. There have been more than 20 computers that haven't. Note: I have over 3000 install sites that might have multiple machines installed.
One of our tech's remotes in, runs this special EXE as administrator and finds the ones that are not registering. Then starts an Administrative Command Prompt and manually calls the RegSvr32 to register them.
Problem is solved.
Does anyone have some idea why this failure happens?
I feel like I can rule out Anti-Virus since manually running it allows it to register.
Are you detecting 32-bit\64-bit Windows in your installer, and handling DLL placement and registration accordingly?
Yes. These are 32-bit DLLs so INNOSetup is configured to run as a 32-bit program. The program I wrote is also written to be a 32-bit program. The DLL's are being properly stored in the Program Files (x86) folder. I've seen this fail on Windows 7 32-bit and Windows 10 64-bit.
-----Original Message----- From: ProFox [mailto:profox-bounces@leafe.com] On Behalf Of Alan Bourke Sent: Tuesday, February 26, 2019 10:45 AM To: profoxtech@leafe.com Subject: Re: [NF] Registering DLL's
Are you detecting 32-bit\64-bit Windows in your installer, and handling DLL placement and registration accordingly?
You probably need to be an Administrator to write there or you have to run the process as the administrator. Security keeps upping its game getting in the way of how we use to do things so easily.
On Tue, Feb 26, 2019 at 10:03 AM Tracy Pearson tracy@powerchurch.com wrote:
Yes. These are 32-bit DLLs so INNOSetup is configured to run as a 32-bit program. The program I wrote is also written to be a 32-bit program. The DLL's are being properly stored in the Program Files (x86) folder. I've seen this fail on Windows 7 32-bit and Windows 10 64-bit.
-----Original Message----- From: ProFox [mailto:profox-bounces@leafe.com] On Behalf Of Alan Bourke Sent: Tuesday, February 26, 2019 10:45 AM To: profoxtech@leafe.com Subject: Re: [NF] Registering DLL's
Are you detecting 32-bit\64-bit Windows in your installer, and handling DLL placement and registration accordingly?
-- Alan Bourke alanpbourke (at) fastmail (dot) fm
[excessive quoting removed by server]
On a problem machine, does running your installer with /LOG and then examining the log when it fails give any clues ?
I haven't tried that. If it comes up again. I'll see if we can try it.
-----Original Message----- From: ProFox [mailto:profox-bounces@leafe.com] On Behalf Of Alan Bourke Sent: Wednesday, February 27, 2019 8:58 AM To: profoxtech@leafe.com Subject: Re: [NF] Registering DLL's
On a problem machine, does running your installer with /LOG and then examining the log when it fails give any clues ?