could any one please give me these questions ans can we set the key path for .INI files? what is the difference between advertised installation and normal installation?
hi
one of the interviewer asked these questions
Answers (3)
When an ini file in IniFile table, you will not be having option to set it as KeyPath (Option will be greyed out).. If you are keeping it in File table due to some valid reason then you can set it as KeyPath..
Best Practices for ini files
http://www.symantec.com/connect/articles/best-practices-ini-files
You can set the Key path as INI file through component table. But generally it is not advisable to set the key path for INI or database files as they keeps on changing during run time.
Advertised shortcut is an interface to install the application where the shortcut (advertised shortcut) is the entry point to install. When cliked on Advertised shortcut it will actully starts installing components.
Advertised shortcut brings in the term "Self heal" which is not there with normal shorcut.
for the first question, I assume he means INI files using the inifile table.. and since these entries are also part of a component, yes, you can set a key path for this component.
An advertised install only puts the application interface (like shortcuts) in place for an application. Only when a user then starts this application do the actual components get installed. A normal install immediately installs the needed components.