Curious if anyone thinks the following are possible WITHOUT having to resort to Innosetup Pascal and a [CODE] section.
1. Dynamically adjust the default installation folder based on whether a user has admin/poweruser rights or not. In other words, if a user has admin/poweruser rights, the installation folder will default to {pf}\MYAPP otherwise the installation folder will default to {userdocs}\MYAPP
; with admin/poweruser rights DefaultDirName={pf}\MYAPP}
; without admin/poweruser rights DefaultDirName={userdocs}\MYAPP}
2. Quietly ignore errors associated with specific operations. In other words, I would like my setup to attempt to register file associations and add shortcuts to the Start Menu, Desktop, and Taskbar but to quietly ignore errors if a user does not have admin/poweruser rights to perform these operations.
Thanks! Malcolm
©2004 Malcolm Greene |