Video Screencast Help
Search Video Help Close Back
to help

Using WiseScript to Register DLLs

Created: 24 Oct 2007 | Updated: 24 Oct 2007 | 3 comments
WiseUser's picture
0 0 Votes
Login to vote

If you are not comfortable using the self reg table in Wise for registering DLLs, here's a WiseScript that can register the set of DLLs in the application. Better yet, the WiseScript can be used in a custom action.

Please find attached the script that accepts the location of the DLLs from a text file. Update the location of DLL in the text file, compile the WiseScript, and use it in custom action.

Cheers !!

License: AJSL
By clicking the download link below, you agree to the terms and conditions in the Altiris Juice Software License
Support: User-contributed tools on the Juice are not supported by Altiris Technical Support. If you have questions about a tool, please communicate directly with the author by visiting their profile page and clicking the 'contact' tab.

Comments 3 CommentsJump to latest comment

JoeMama's picture

Truly an awesome Post - I'd like to see more community-contributions for WiseScripts, though... Tired of revisiting Dragonsoft.ru time after time & finding few/zero new submits.

Thanks again for hitting a niche area that would've been overlooked in the Packaging arena.

0
Login to vote
looeee's picture

don't forget to uninstall them
you should use the commandline
/s /u %NEWFILE%

oh and you'll need to put the uninstall customaction into rollback sequence
and the install customaction in at uninstall-rollback sequence.

If installing files that might be shared in other software, when you condition the custom actions you'll have to make sure to base the condition on the component being removed not the product, so you don't break any other software.

You'll be losing the ability to install per-user
and the support of self-repair
and you will have severe problems if any of the files are locked

0
Login to vote
Munna's picture

If it is required register dll files it can be done with Vbscript with following line of codes.

Set oShell = CreateObject("WScript.Shell")
oShell.Run("regsvr32.exe /s " &  "<Path of dll file>")

0
Login to vote