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

Please log in to comment

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

Please log in to comment

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

Please log in to comment
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

Please log in to comment
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

Please log in to comment
Answer this question or Comment on this question for clarity