/build/static/layout/Breadcrumb_cap_w.png

Software Deployment Question


Help copying files on userprofile directory with installshield

04/04/2013 5815 views

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

Comments



Community Chosen Answer

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

Answered 04/05/2013 by: talonsprem87
10th Degree Black Belt

All Answers

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.

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.
 
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