Page 1 of 1

Options for maintenance mode

Posted: Tue Feb 07, 2006 11:46 am
by MikeFieger
Hello!

Maybe I´ve missed something, but I just don´t know how Installaware knows which options were set and which were not when the setup runs in maintenance mode to repair a setup.
Can you give me a hint?

Mike

Posted: Tue Feb 07, 2006 4:15 pm
by CandiceJones
Hi Mike!

If you are referring to options like the setup folder, selected features, and so on - these are stored by InstallAware. So it automatically reloads this information the moment you start a setup in maintenance mode.

Let me know if I understood your question correctly!

Posted: Wed Feb 08, 2006 5:16 am
by MikeFieger
Hi!

When our product is installed a desktop shortcut is created when desired:

if Variable CREATE_DESKTOP_SHORTCUT Equals TRUE
Create Shortcut $DESKTOPDIR$\\Start to $TARGETDIR$\\Program.exe
end

When the setup runs in maintenance mode this shortcut shall only be restored if the user told installaware to do so at the previously install.


Now I tried to save and retrieve this information by using 'Define Component' and 'Get Component State' but I could not get this to work. :cry:

So the question still is: How can I retrieve an information ('Create Desktop Icon') that the user gave upon install, when I am in maintenance mode (repair)? :?: :?: :?:

Posted: Wed Feb 08, 2006 9:02 am
by MichaelNesmith
Hi Mike,

You can store this selection information in the registry, or in a text file...just try the Write/Read Registry commands and Write to/Read from Text File commands.