I need a sample Inno setup script to accomplish the 7 points below. I may need assistance incorporating them into an existing script. Sample code with dummy files is fine ( [url removed, login to view], [url removed, login to view] etc).
1). Check if a file exists & abort compile if not.
2). In a function ( when installing) - If a folder exists, do NOT show a select directory page otherwise do.
3). When installing, let user select whether application is installed for current user or all users & have desktop folder/icon display depending on this setting. Also set an application to load at windows startup depending on this setting ( can be a [url removed, login to view] file for demo purposes).
4). In Windows 7, set one installed application icon to be set to 'Show Icon and notification' and another to just 'Show Notifications' ( This must work with XP)
5). My application will need to install DLL files into a folder. If this is not on the path (attempt to get a result from a dll function) we need to force a reboot, otherwise we show a checkbox to show 2 sample [url removed, login to view] files. I can supply a sample DLL and inno function call.
6). If reboot needed we need to set Windows to shopw the 2 [url removed, login to view] files when it is restarted.
7). I have a script that I may need help implementing these 7 features