Hi :)

I'd want some newbie help with creating an MSI-package using Wise Package Studio 5.5.

All I really want to do is:
1. Unregister any existing version of the specific DLL (regsvr32 /u name.dll)
2. Copy my new DLL to %WINDIR%.
3. Register my new DLL (regsvr32 name.dll)

I want this packaged as an MSI file for AD GPO-distribution.

Can anyone give me some pointers as to where I begin?
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

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

Answers

0
Personally, this is something I'd be more likely to do with a script. You could do it with an MSI but it's not exactly the best way of doing things.

nmi
Answered 03/22/2005 by: nmi
Orange Belt

Please log in to comment
0
I knew an answer like that would come ;)

Yes it's possible with scripting, but in this case it should be as an MSI package. There are several reasons for this, one is that the users don't have local admin privs, and one is that it should be an easy/non-advanced deployment for the end-users.
Answered 03/23/2005 by: masken
Senior Yellow Belt

Please log in to comment
0
Ok, as you want it as an MSI you could do this but have a script which runs as a custom action to do what you need OR...

If you deploy your DLL as a file in your package it will be self registered, you may want to schedule your custom action before you deploy the files so that you can unregister any existing files although this may not be necessary.

Hope this helps.

nmi
Answered 03/23/2005 by: nmi
Orange Belt

Please log in to comment
0
To make an MSI installation autoregister a dll or ocx file on installation, just add the filename as a row in the SelfReg table. I don't think there is a way to unregister using the MSI.

Alan
Answered 03/23/2005 by: ab2cv
Orange Senior Belt

Please log in to comment
0
masken,

If you are not completely comfortable with the above options, there is something else you might consider and test: a tool called CCRP Registration Utility. I have used it many times with problematic .tlb files. It can also register .ocx files.

There is info on it here:

http://itninja.com/link/drive-image-product-page2

You could run a separate capture of the changes the tool makes when it registers and unregisters your .dll files, and "add / update resources" in your existing .msi.

Craig --<>.
Answered 03/25/2005 by: craig16229
Third Degree Brown Belt

Please log in to comment
0
Okay guys, thanks for the help.

Haven't decided yet, but it seems that there's limited functionality to achieve my goal easily with Wise. Perhaps I'll do a startup-script anyhow.
Answered 05/02/2005 by: masken
Senior Yellow Belt

Please log in to comment
0
Hi Masken,

It can be done as an MSI, but I'd agree thats its probably not the best.

If you need to to run as an admin you can run the script using psexec (www.sysinternals.com) to run it as another user on the workstations.

If you are determined to go the MSI route, then its custom actions for unregistering, and Wise makes sure that DLL's/OCX's etc self register, but you can make it by right clicking on the file in the File view, selecting Properties (I think, I don't have it in front of me) and one of the tabs is for DLL registration.

Hope thats helped.

Rgds

Paul
Answered 05/02/2005 by: plangton
Second Degree Blue Belt

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