Progress status of silent installation
Hello,
We make silent setup for remote install/uninstall. One thing is very important - progress status of current installation process. Is any way to get % progress from setup. How to get ErrorCode I know :)
Archive: Progress status of silent installation
Progress status of silent installation
Hello,
We make silent setup for remote install/uninstall. One thing is very important - progress status of current installation process. Is any way to get % progress from setup. How to get ErrorCode I know :)
You can manually write the status to some file or the registry. Won't work with more than one installer running, but it's the best idea I can think of right now.
I was searching for the exact answer to the question posted the romko. Does anyone know how to get the status of the installation progress?
As kichik said, you'd have to write it to a registry key or into a text file.
Stu
Sorry for asking a dumb question, but How do we get the status(progress) of the installation? Do we need to manually calculate it?
You can get the current progress bar position by sending PBM_GETPOS to the control with SendMessage.
Stu
Thanks for the reply. The variable PBM_GETPOS is not defined in Winmessages.nsh.So i guess i need to use the System plugin.
No need for the System plug-in. SendMessage and get you the return value.
SendMessage $HANDLE ${PBM_GETPOS} 0 0 $0
# $0 will be the pos