Options for maintenance mode

Got a problem you cannot solve? Try here.
MikeFieger
Posts: 52
Joined: Thu Jan 26, 2006 9:09 am

Options for maintenance mode

Postby MikeFieger » Tue Feb 07, 2006 11:46 am

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

CandiceJones
Posts: 904
Joined: Thu Dec 22, 2005 7:03 pm
Contact:

Postby CandiceJones » Tue Feb 07, 2006 4:15 pm

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!
Candice Jones
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/

MikeFieger
Posts: 52
Joined: Thu Jan 26, 2006 9:09 am

Postby MikeFieger » Wed Feb 08, 2006 5:16 am

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)? :?: :?: :?:

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Wed Feb 08, 2006 9:02 am

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.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 173 guests