Solved

Wise 7.0 How to create a MSI package to register some DLLs & OCXs ???

Posted on 2007-11-15
8
4,853 Views
Last Modified: 2013-12-12
Hi Experts,

I'm totally newbie for the Wise Installation Situdio 7.0 and I need to create MSI package that can register some DLLs and OCXs to a Windows XP operating system.

Please let me know step by step guide for this !

Many thanks !
0
Comment
Question by:NetMaxtor
  • 4
  • 3
8 Comments
 
LVL 3

Accepted Solution

by:
kcehtrak earned 500 total points
ID: 20294069
Netmaxtor, You can do this in one of two ways. One being, do a setup capture first using wise on a clean vanilla build and then manually copy the dll's & ocx to the location they are supposed to be installed to on that machine and then register them using regsvr32 and then finish the setup capture, this would capture all the changes and include them into the package - compile the msi and u shud be ready to go. If the dll's resides at system32 folder then wise will automatically register them using self reg table when you include the files in the msi. Technically speaking, a merge module would be a very good idea which will result in the msm being potentially reused and to resolve dll hell. Cheers.
0
 

Author Comment

by:NetMaxtor
ID: 20295909
Thanks a lot kcehtrak: i got our point ! Since I'm a newbie on this, is there any step by step guide of doing this ?

Please help !
0
 
LVL 3

Expert Comment

by:kcehtrak
ID: 20309681
I can provide you a step by step information on how to do this. Can you please tell me how many dll's you have got and the install location of these files?
0
 

Author Comment

by:NetMaxtor
ID: 20310173
For now I have 2 DLLs 2 OCXs to register !
0
Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
LVL 3

Expert Comment

by:kcehtrak
ID: 20310362
Can you tell me the location of these files on target machine?
0
 

Author Comment

by:NetMaxtor
ID: 20310410
ok kcehtrak, this should targeted to the system32 in windows directory. I have did some test run and compiled a MSI . now it's seems to be working fine. Thanks for your great guidance.

I need to change some browser setting (MS-IE) in the same MSI package, is that possible ?

1. Make a trusted site (need to specify a host name there)
2. Some changes in the browser security settings in the trusted sites.

Please advice !!
0
 
LVL 3

Assisted Solution

by:kcehtrak
kcehtrak earned 500 total points
ID: 20317529
I think it is possible, chances are these would be a registry entry....can u confirm? In most cases, any ie settings are done via active directory and GPO's so that its more locked down.
0
 
LVL 40

Expert Comment

by:Vadim Rapp
ID: 20867739
Since this solution is one of the most-frequently seen in EE, I'd like to put some corrections.

1. setup capture is unnecessary. If the user is building new installation, setup capture has nothing to do here, its purpose is to repackage an existing installation.

2. "manually copy the dll's & ocx to the location they are supposed to be installed to on that machine" is unnecessary. Location of the file is irrelevant. And of course, the file on the developer's machine does not have to be in the same location as on the target one, not to mention that the user can change the default installation folder during the installation.

3. Merge module would be very good idea only if this set of dll's is going to be reused in many installations. If not, then there's no point in creating it.

The proper way to build an installation package with com objects is this:

1. in Wise, under Options/Advertising, uncheck "automatically add self-registration". (see http://support.microsoft.com/kb/307367 for the reasons)

2. have the dll (or ocx) in question registered on the machine with regsvr32.exe

3. add the dll to the installation.

If (2) is not desirable, there are 2 ways: build the installation on another machine, or, better, copy the file over to another machine, and run there utility WiseComCapture.exe that can be found in the Wise program folder. The utility will create a .reg file. Move that file back to the machine with Wise, and import.
For more details, open Help in Wise Editor and search for WiseComCapture - it will return several articles with many more useful details.

If the file is already in the installation, and it was re-registered, go to Setup Editor, tab Components, find the component with the dll, and select "rescan advertising information" from context menu. You can also rescan it for the whole project.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how to use the timestamp of existing data in a database to allow Tableau to calculate the prior work day instead of relying on case statements or if statements to calculate the days of the week.
In this article, you will read about the trends across the human resources departments for the upcoming year. Some of them include improving employee experience, adopting new technologies, using HR software to its full extent, and integrating artifi…
This video demonstrates basic masking and how to edit the mask to reveal the desired image.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now