/build/static/layout/Breadcrumb_cap_w.png

Software Deployment Question


How to copy .cab and external folders/files in C:\Windows\Installer

07/31/2012 5191 views

Hello,

I have a problem with ActiveSetup process. Indeed, i have a package with .cab file and when this package is installed, there is .msi file and few files like .ico into C:\Windows\installer but not .cab file. My issue is when the ActiveSetup is executed, package found the original source because .cab file is not locally copied.

My question is : if i copy .cab file into C:\Windows\Installer\{GUID} and i change registry key like Installsource is sufficient? Then, how to resolve this problem, a property in MSI?

Thak you for your response.

Guillaume

0 Comments   [ + ] Show comments

Comments



Community Chosen Answer

5

Try using the DuplicateFile table in your msi, this will eliminate the need for original installer's files.

Have a look at my blog on the subject here: http://www.itninja.com/blog/view/a-general-approach-to-software-package-using-duplicatefiles

Answered 07/31/2012 by: pjgeutjens
Red Belt

All Answers

1

The MSI stored in Windows\Installer folder is just kept for reference and it is not used to copy files. If you want to copy files, you can either use DuplicateFiles table or use a VBScript to copy files across.

Answered 08/02/2012 by: piyushnasa
Red Belt

1

I guess you are keeping the source in Desktop folder in Administrator's profile and and installing it..

In this case, Standard users will not be having access to other user's profile..

So, Copy your source to some folder where all the users will be having read access.. and install

For testing purpos, you can copy your package to C:\Temp folder and check it..

 

Answered 07/31/2012 by: jagadeish
Red Belt

1

Alternatively u can use wise/vb scripts to copy the files into the userfolders. u can use install file in wise scripts & then run that script in the stub path of wise script. PReferably donot copy manually to C:\Windows\installer

Answered 08/01/2012 by: hrs2cool
Black Belt

 
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