Client Management Suite

 View Only

Using WiseScript to Register DLLs 

Oct 24, 2007 12:54 PM

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.

Statistics
0 Favorited
0 Views
1 Files
0 Shares
0 Downloads
Attachment(s)
zip file
Selfreg.zip   1 KB   1 version
Uploaded - Feb 25, 2020

Tags and Keywords

Comments

Sep 23, 2009 11:30 AM

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

Sep 07, 2008 02:06 PM

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

Nov 14, 2007 10:16 PM

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.

Related Entries and Links

No Related Resource entered.