/build/static/layout/Breadcrumb_cap_w.png

Help copying files on userprofile directory with installshield

Hey,

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.

 

Thanks!


0 Comments   [ + ] Show comments

Answers (2)

Posted by: talonsprem87 11 years ago
10th Degree Black Belt
1

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

Posted by: anonymous_9363 11 years ago
Red Belt
0

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.


Comments:
  • 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. - EVEEN 11 years ago
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ