How MSI should popup a message for 30 min to user saying to close all the files?
I need Some help. I have a msi and clients requirment is that before installing, msi should popup a message for 30 min to user saying to close all the files and if he click yes then installation should start of if no response till 30 min then by default installation should start. Salutations with complete details will be of great help. Everything has to be done within msi only.
Answers (4)
What OS do the target machines have? If they're Windows 7 or above, you could do something with Powershell/Windows Forms.
A previous poster found and used an HTA but many shops disable HTA execution.
As you can tell, there's nothing native in Windows Installer that will help here.
The other point to bear in mind is that many shops deploy everything silently so pop-ups of this kind will, unless expertly coded, make the deployment hang, as the deployment would be carried out using the local System account which, as you know, has no console on which to display windows for messages, etc.
At most clients I've worked at, a round-robin email would be sent, detailing that some update is due to be deployed on date 'x' at time 'y', that users need to log off from machines and that, if they don't log off and consequently lose data, no-one will care!. Normally, a reminder is sent the day before the actual deployment and then a final an hour or so before. If, however, your client wants to pay for development of a robust messaging system as an alternative, I'd bite their hand off and invoice accordingly.
Lastly, please remove your duplicate post.
Comments:
-
You cannot in Windows 7 and above if deploying by service account, as this runs in a different session to the user, and interacting with the desktop is no longer supported for service driven processes. Even if you force interaction with desktop, you will end up triggering the UAC which will hang the install until the user responds. You would realistically need to create a process that runs in user context and is able to communicate with the installation process using named pipes, for example. - EdT 9 years ago