Newbie - Deleting registry key during install
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
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
Answers (6)
Please log in to answer
Posted by:
fetgor
18 years ago
Posted by:
fetgor
18 years ago
Posted by:
fetgor
18 years ago
Posted by:
timmsie
18 years ago
Posted by:
jimehta
18 years ago
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
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
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.