Fairly new to the deployment world here.


I just finished repackaging a tool that copies a file in the applicationdata folder using installshield. Is there a way to automate the feature? I've been hinted to use active setup but would need a few pointers to do so.



0 Comments   [ + ] Show Comments


Please log in to comment

Community Chosen Answer


if all u need to do is copy files, i would suggest write a script, keep the files to be copied in a folder besides it  and then add the entry of script in Active Setup StubPath under HKLM\SOFTWARE\MICROSOFT\Active Setup\Installed Components\<your unique GUID>. Hope this answers you question

Answered 04/05/2013 by: talonsprem87
Tenth Degree Black Belt

Please log in to comment



AS is thoroughly documented here and on MSDN/TechNet.

However, if the application you're packaging contains any advertised entry-point, e.g. an advertised shortcut, your best option is to create a new feature containing the AppData junk and then move the feature which contains the advertised entry-point so that it becomes a child of your new feature. That way, when the entry-point is used, self-healing/repair kicks in and your user level parts get installed.

Answered 04/05/2013 by: VBScab
Red Belt

  • Both suggested strategies are excelent for a per user placement of files. For the prefered solution just check with your customer :) Some organisations prefere active setup over application self healing as the running installer sometimes unsettles customers.
Please log in to comment
Answer this question or Comment on this question for clarity