Posted 24 August 2004 - 23:48
Just wanted to know what resources can be used as entry points for triggering auto repair of a feature in a package apart from advertised shortcuts.
I have created a separate feature which is marked as install on first use and only contains certain files that will be installed to [personalfolder]. I'd like the package to do an autorepair and install the files to each user's [personalfolder] when they first try to lauch the application executable.
Is there a way of doing it automatically at login time maybe by running something off the "run" registry key or do we need to create an advertised shortcut to act as an entry point.
Thank you very much.
Posted 25 August 2004 - 01:12
Through run key u can make the auto repair so that all personal files to be copied to particular user
create one advertised shortcut in StartUp Folder with HKCU key is the keypath will do ur requirement
Posted 25 August 2004 - 03:31
Note: It is always best to have the application do this copy operation on its own. Using windows installer to install per user data is a work around at best. My preference is to install all files to a per machine location, and then have the application copy the files to the per user folder on first launch.
Posted 16 September 2004 - 17:56
I have an app which requires
The application will not have any shortcuts (so they cannot be advertized),
as it is going to ba called by other apps or probably initiated by file associations.
It is necessary to populate the HKCU information to all the users on PC.
I advertized all the HKCU keys on the top feture level, however cannot get it to autorepare.
After installing it as admin, it does run aoutorepare as admin, however if I log in as a different user, it does nothing, and the applicaiotn ujust informs me that is missing the keys.
Did anybody encounter a similar situation or could suggest something?
Posted 17 September 2004 - 15:12
Posted 03 November 2004 - 18:03
For applications that require user-specific resources, I use an advertised shortcut to a dummy executable that doesn't do anything. Since we are talking about "per machine" installs, the shortcut would be in the "All Users\Startup" folder.
Remember to use a registry keypath for your "per user" components! This is due to the fact that keypaths are hard-coded in the registry when the component is installed.
Posted 22 November 2004 - 15:32