Silent installation

Got a problem you cannot solve? Try here.
bendrouet
Posts: 17
Joined: Thu Feb 02, 2006 5:49 am

Silent installation

Postby bendrouet » Wed Mar 01, 2006 4:52 am

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

bendrouet
Posts: 17
Joined: Thu Feb 02, 2006 5:49 am

Postby bendrouet » Wed Mar 01, 2006 11:40 am

It seems that the variable NODISPLAY should be initialized in the Define Setup Globals Region

The program runs now correctly.


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 158 guests