Hi everyone,

I'm a newbie to the 'Repacking' arena and I'm taking a crash course in MSI packing using Wise Package Studio 6. I have an application that I have captured using Wise Web Capture and is an msi format now. When I view the MSI in Installer Editor I can see the appropriate Registry keys, files, OBDC changes that will be made.
My question is, how do I go about removing old registry keys and files that may already be on the machine prior to installing the new files and keys? The new package will install a bunch of new User DSN OBDC settings, though I need to remove some old System DSN OBDC settings first. From what I have read, this appears to be done using either a J or VB script, though I have no idea how to call this script prior to the install taking place. Is there another way of doing this without calling a script?

Any help would be much appreciated. [:)]

Regards
Simon
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
This can be done using Wise, using the tables - not supported trom wise i guess.....in the registry view, just add a value, then right click choose details, then at the top in Operation, choose "Remove Vaule during install"
Answered 02/15/2006 by: fetgor
Senior Purple Belt

Please log in to comment
0
oops, this is of couse supported from wise, what is not documented is to add this in the table registry:

"registry","2","SOFTWARE\TEST\","-","","registry"

this will remove the key TEST and all subkeys during unstall.
Answered 02/15/2006 by: fetgor
Senior Purple Belt

Please log in to comment
0
more information....If you wich to delete a key and subkey during install add this to the RemoveRegisty
Table:
"removeregistry","registry","2","Software\TEST\","-"
Answered 02/15/2006 by: fetgor
Senior Purple Belt

Please log in to comment
0
If you are you wise (or even if you're not) then the wise newsgroups are very very good
www.wise.com
Answered 02/15/2006 by: timmsie
Fourth Degree Brown Belt

Please log in to comment
0
1> To Remove registry you can use Remove Registry Table as described by fetgor.
2> To remove files you can use RemoveFile Table, Just made the Directory structure in the Directory table& use it in
RemoveFile table along with filename
e.g. "RemoveFile","Test","abc.pdf","Test","1"
Above entry in RemoveFile table will delete the "abc.pdf" from Directory test during instllation.

3> To ermove the ODBC you can use the RemoveRegistry table.


Cheers
Jimit
Answered 02/15/2006 by: jimehta
Senior Yellow Belt

Please log in to comment
0
Thanks for the info Fetgor. Works a treat.[;)]
Answered 02/15/2006 by: ozsimon
Yellow Belt

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