/build/static/layout/Breadcrumb_cap_w.png

7-zip.msi + InstallShield. how to set file associations?

Hello Guys!
here package http://downloads.sourceforge.net/sevenzip/7z465.msi
default silent installation not associate 7-zip with file archive formats (7z; zip; rar; etc)
but I must do it.
Can this be done with installshield?

p.s. i can create Custom Action that executes after installation and add registry values as described here:
http://wpkg.org/7-Zip#MSI_Installer_package.xml.2C_sets_7-zip_as_default_archive_application
but perhaps there is more polite way?
thanks.

0 Comments   [ + ] Show comments

Answers (5)

Posted by: anonymous_9363 14 years ago
Red Belt
0
The simplest way is to export the file registrations from RegEdit to .REG files then import those into a transform which you can then apply to the MSI from the command line.
Posted by: karapetyan 14 years ago
Senior Yellow Belt
0
VBScab,
thanks for reply!

The simplest way is to export the file registrations from RegEdit to .REG files
ok
then import those into a transform which you can then apply to the MSI from the command line.
can you tell me more details? or show example...
thanks
Posted by: anonymous_9363 14 years ago
Red Belt
0
What detail do you need? Do you know what transforms are and why you would use them? If not, I'm afraid I'm going to stop there: I don't have time to teach you.
Posted by: karapetyan 14 years ago
Senior Yellow Belt
0
VBScab,
1)How to create transform using InstallShield?
2)How to import to transform .reg file?
2)How to bind source .msi and transform?
Posted by: pjgeutjens 14 years ago
Red Belt
0
I know I'm not VBScab, but here you go

1) open your MSI, make the necessary changes, choose file -> save as.. as type choose Windows Installer Transforms and give your file the .mst extension

2) see 1), this would fall under those necessary changes, go to registry view, right-click -> import REG File

3) msiexec.exe /i <path to your MSI> TRANSFORMS=<path to your mst>

PJ
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
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