/build/static/layout/Breadcrumb_cap_w.png

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

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

Answers (4)

Posted by: pjgeutjens 12 years ago
Red Belt
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

Posted by: piyushnasa 12 years ago
Red Belt
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.

Posted by: jagadeish 12 years ago
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..

 

Posted by: hrs2cool 12 years ago
Black 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

 
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