Login to participate
Endpoint Management & Virtualization DownloadsRSS

Using WiseScript to Register DLLs

WiseUser's picture

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.
JoeMama's picture

Awesome Post - Like to See More Contributions for WiseScript!!!

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.

looeee's picture

don't forget to uninstall

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

Munna's picture

By VBScript.

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>")