SHAREDLL - not to be asked to delete

Post Reply
User avatar
skdb
Posts: 7
Joined: 18. Mar 2005, 11:00
Contact:

SHAREDLL - not to be asked to delete

Post by skdb » 12. Nov 2013, 15:19

When packaging DLL / OCX files, I started to use the Copy command with the SHAREDLL option and understood the method behind it but found that when the count is 0 for the file when deleting / uninstalling the package, that the "This shared dll is no longer in use, would you like to delete this file?" is shown to the user (while logged in)...is this normal?

In the Help, it sounds like it is as per design -
"The destination file is entered in the registry as a shared file; a counter is advanced. The counter is reduced during uninstallation, and the file is suggested for deletion when the counter drops to 0."
Sean Brown
Workplace Consultant
sean.brown@lundm-bit.de

http://lundm-bit.de

User avatar
Hendrik_Ambrosius
Moderator
Moderator
Posts: 7962
Joined: 13. Dec 2004, 23:10
Location: Adendorf/Lüneburg

Re: SHAREDLL - not to be asked to delete

Post by Hendrik_Ambrosius » 12. Nov 2013, 16:03

That message should not pop up if you use /S0 or /S2 as distribution options.
Please check what this is set to in the package properties.
Hendrik Ambrosius / Senior Presales Consultant
Mobile: +49 172 408 4447 | hendrik.ambrosius@matrix42.com
Matrix42 GmbH | Elbinger Straße 7 | 60487 Frankfurt am Main | Germany | www.matrix42.com

Disclaimer: I participate in this forum on a voluntary basis. Views expressed are not necessarily those of Matrix42 or of the support team.

User avatar
skdb
Posts: 7
Joined: 18. Mar 2005, 11:00
Contact:

Re: SHAREDLL - not to be asked to delete

Post by skdb » 13. Nov 2013, 07:39

Standard being used is /AW /S2
In Editor using no deployment parameters is same result.
Sean Brown
Workplace Consultant
sean.brown@lundm-bit.de

http://lundm-bit.de

User avatar
Hendrik_Ambrosius
Moderator
Moderator
Posts: 7962
Joined: 13. Dec 2004, 23:10
Location: Adendorf/Lüneburg

Re: SHAREDLL - not to be asked to delete

Post by Hendrik_Ambrosius » 13. Nov 2013, 08:36

Try the package again on a PC where this package has never been installed before or delete the productkeys of that package from the registry and try again.
If the message still appears this is a bug and must be reported to our helpdesk for remediation.

BTW: If you do not provide parameters when running the script for the editor the message will appear. Also use /S2 /AW.
Hendrik Ambrosius / Senior Presales Consultant
Mobile: +49 172 408 4447 | hendrik.ambrosius@matrix42.com
Matrix42 GmbH | Elbinger Straße 7 | 60487 Frankfurt am Main | Germany | www.matrix42.com

Disclaimer: I participate in this forum on a voluntary basis. Views expressed are not necessarily those of Matrix42 or of the support team.

User avatar
skdb
Posts: 7
Joined: 18. Mar 2005, 11:00
Contact:

Re: SHAREDLL - not to be asked to delete

Post by skdb » 14. Nov 2013, 09:17

After several tests, it looks like you are right. Thank you. :D
Sean Brown
Workplace Consultant
sean.brown@lundm-bit.de

http://lundm-bit.de

Post Reply

Return to “Packaging”

Who is online

Users browsing this forum: No registered users and 2 guests