Hi,
I have to test the presence or not of a file during my installation and if it is present I have to switch to silent installation.
The problem is that when I use the SILENT predefined variable set to TRUE or FALSE I hva some strange behaviours from my program.
When I run it step by step with the debug mode, all works correctly, when I run it one shot, it crashes saying me that some variables are not defined.
So I decided to avoid the use of the SILENT variable because I could not found why it worked in one case and not in another.
I use now the condition variable present in the DISPLAY DIALOG function.
So my variable is called NODISPLAY and I initialize it at FALSE
When I found the file its value is set to TRUE
So in my DISPLAY DIALOG function, I set the variable NODISPLAY with the condition FALSE
SO all is perfect, the silent installation works good but when I want to uninstall the program via the uninstall shortcut or via the control panel, add/remove programs, I have an error message saying me that the NODISPLAY variable is not defined !!
I can not appearly set a silent installation without a lot of problems
Can someone help me ?
The operating system is WinXP
thank you
Silent installation
Who is online
Users browsing this forum: No registered users and 158 guests