hey guys, me again ;-)

here's another problem i have since yesterday afternoon.

i have packaged 7-zip which works fine. but when uninstalling, i want to change back the zip extension to the default that was there before it was changed by my msi.

i have a reg import to put every thing back as it was before the installation but it works only when distributed with an admin account logged to the computer. if the logged on user is not admin, like 99% of my customers, the zip extension is not set back so if i double-click a zip file, windows ask me what program to open with that file.

why is it working as admin but not as user? and it's not related to rights, because my deployment tool works with local system account.

thanks!
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Better to restore the native zip / cab functionality properly...

Custom action these on uninstall of your 7-zip package:

regsvr32 c:\WINDOWS\system32\cabview.dll (to restore .cab file association etc)
regsvr32 c:\WINDOWS\system32\zipfldr.dll (to restore .zip file association etc)

Regards,
Rob.
Answered 05/27/2009 by: MSIPackager
Third Degree Black Belt

Please log in to comment
0
cool!

thanks!
Answered 05/27/2009 by: kardock
Second Degree Green Belt

Please log in to comment
0
works perfectly.

much thanks!
Answered 05/27/2009 by: kardock
Second Degree Green Belt

Please log in to comment
Answer this question or Comment on this question for clarity