jcagle
25th July 2003 20:28 UTC
Suppress Directory Screen
I am writing an install script that may or may not display the Directory screen (to get the installation directory). If there is a version of my software already on the system, I don't want to show the directory screen...I'll just use the current directory path. Is there a way to suppress the directory screen? Thanks in advance!!
Joel
25th July 2003 21:36 UTC
use the pre function of the directory. Are you using Modern UI.
How do you want to detect the pre-installed version of the app?
In folder or registry way?
Look this instructions:
1. With Modern UI: MUI_CUSTOMFUNCTION_DIRECTORY_PRE
2. No Modern UI: Page directory "" "detectapp"
jcagle
25th July 2003 22:16 UTC
I'm looking in the registry to determine the pre-installed version...and, am using Modern UI. I will look into "MUI_CUSTOMFUNCTION_DIRECTORY_PRE". Thanks for the pointer!
Vytautas
26th July 2003 00:37 UTC
When you have detected if your app exists call the 'abort' function out of the Directory PRE page to stop it from showing up.
Vytautas
jcagle
26th July 2003 01:50 UTC
Whate do you mean by the "Directory PRE page"? OR, maybe I'll understand more when I research MUI_CUSTOMFUNCTION_DIRECTORY_PRE.
Vytautas
26th July 2003 02:40 UTC
Sorry I left out function on the end it should have said "Directory PRE page function" which is the function defined by "MUI_CUSTOMFUNCTION_DIRECTORY_PRE". Have a look at my archive page 'Defaults for second directory'. In that script you'll find where I skip showing the second page if the options file exists. Sorry for the confusion and hope this helps you.
Vytautas