Quantcast
Channel: Flexera Community Forums
Viewing all articles
Browse latest Browse all 4553

Setting Maintenance mode with 64bit OS

$
0
0
I was just wondering if anyone happened to know what sets the modes in UPDATEMODE, MAINTENANCE etc. in an installscript.

I'm running into an issue where my code works fine in Win XP when going to the control panel and choosing to modify my install. Brings up the remove/repair/modify screen without fail.

When running this same exact code on a Win7 64bit box, the r/r/m screen will be displayed once; however, if I try launching it again it acts as though it's a first time install.

As I debug the code, I see in OnShowUI() that on a 32bit OS it will always hit the 'if (MAINTENANCE) then... code. With 64bit I see it hits this code the first time, any time after that it never thinks it's in maintenance mode again and calls OnFirstUIBefore() instead of OnMaintUIBefore().

Does anyone know why a 64bit OS would be treating this differently? thanks.

Viewing all articles
Browse latest Browse all 4553

Trending Articles