/build/static/layout/Breadcrumb_cap_w.png

Software Deployment Question


Newbie - Deleting registry key during install

02/14/2006 4013 views
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


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

All 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

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

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

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

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

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

 
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