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!!
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"
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!
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