G
Guest
Hi,
I know this topic has been discussed here before but I am having difficulty
achieving a totally silent , promptless install.
Using C# I would like to run an install without any user interaction at all.
I am using wceload to run a cab file.
The code is as follows:
ProcessInfo pi = new ProcessInfo();
if ( CreateProcess("\\Windows\\wceload.exe", TEMP_FILE, pi) )
This runs fine.
In addition I programmatically set the relevant Instl registry key to 0 to
disable the dialog box informing me that the application is already
installed. This works OK.
However I cannot disable the dialog boxes asking me do I want to replace the
already existing files with those newly extracted from the cab file.
I have been trying to use the /nui switch but have been unsuccessful in
getting it to work.
Does this switch actually work in the described manner or perhaps I am
implementing it incorrectly ?
Is it possible to use the switch in the code outlined above and if so how?
Thanks for any help,
DD
I know this topic has been discussed here before but I am having difficulty
achieving a totally silent , promptless install.
Using C# I would like to run an install without any user interaction at all.
I am using wceload to run a cab file.
The code is as follows:
ProcessInfo pi = new ProcessInfo();
if ( CreateProcess("\\Windows\\wceload.exe", TEMP_FILE, pi) )
This runs fine.
In addition I programmatically set the relevant Instl registry key to 0 to
disable the dialog box informing me that the application is already
installed. This works OK.
However I cannot disable the dialog boxes asking me do I want to replace the
already existing files with those newly extracted from the cab file.
I have been trying to use the /nui switch but have been unsuccessful in
getting it to work.
Does this switch actually work in the described manner or perhaps I am
implementing it incorrectly ?
Is it possible to use the switch in the code outlined above and if so how?
Thanks for any help,
DD