SHAREDLL - not to be asked to delete

Antworten
Benutzeravatar
skdb
Beiträge: 7
Registriert: 18. Mär 2005, 11:00
Kontaktdaten:

SHAREDLL - not to be asked to delete

Beitrag von 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

Benutzeravatar
Hendrik_Ambrosius
Moderator
Moderator
Beiträge: 7411
Registriert: 13. Dez 2004, 23:10
Wohnort: Adendorf/Lüneburg

Re: SHAREDLL - not to be asked to delete

Beitrag von 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 Consultant
Mobile: +49 172 408 4447 | hendrik.ambrosius@matrix42.com
Matrix42 AG | 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 AG or of the support team.

Benutzeravatar
skdb
Beiträge: 7
Registriert: 18. Mär 2005, 11:00
Kontaktdaten:

Re: SHAREDLL - not to be asked to delete

Beitrag von 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

Benutzeravatar
Hendrik_Ambrosius
Moderator
Moderator
Beiträge: 7411
Registriert: 13. Dez 2004, 23:10
Wohnort: Adendorf/Lüneburg

Re: SHAREDLL - not to be asked to delete

Beitrag von 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 Consultant
Mobile: +49 172 408 4447 | hendrik.ambrosius@matrix42.com
Matrix42 AG | 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 AG or of the support team.

Benutzeravatar
skdb
Beiträge: 7
Registriert: 18. Mär 2005, 11:00
Kontaktdaten:

Re: SHAREDLL - not to be asked to delete

Beitrag von 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

Antworten

Zurück zu „Packaging“

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 1 Gast