PDA

View Full Version : Uninstalling files - They don't uninstall



xdunpealx
01-19-2017, 04:16 PM
Hey everyone,

I am still really new to this program and as the title says that is my problem. I am not sure what I am doing wrong.
All components have the following

Permanent set to : No
Shared set to: No

When i uninstall my program all the files are still there.

I would post a picture but any time i hit Insert Picture the website just goes gray and I cannot do anything.11283

chad.petersen
01-20-2017, 10:55 AM
You will likely want to have MSIEXEC.EXE generate a verbose log file on the uninstall and see what that log file says. It would be hard to near impossible to guess what you have going on there based off of the information you have provided, but no worries, it does not matter - The verbose log file is a friend in these cases.

Chad

xdunpealx
01-20-2017, 12:41 PM
You will likely want to have MSIEXEC.EXE generate a verbose log file on the uninstall and see what that log file says. It would be hard to near impossible to guess what you have going on there based off of the information you have provided, but no worries, it does not matter - The verbose log file is a friend in these cases.

Chad

How would i generate this log? I tried running my .exe in command prompt with setup.exe /verbose "C:\log.log" or is this something i have to setup in installshield, I also tried looking up turning on windows logs for windows 8.1 but couldnt find in the registry where

chad.petersen
01-20-2017, 02:20 PM
If you temporarily have it not bundle everything into the Setup.exe bootstrapper then you should find the resulting MSI and then you run the MSIEXEC.EXE with the command line switches.

MSIEXEC.EXE /L*v <logfile> /x <msifile> - to install
MSIEXEC.EXE /L*v <logfile> /x <msifile> - to uninstall

MSIEXEC.EXE /? - for help

Chad

chad.petersen
01-20-2017, 02:21 PM
That should have read

MSIEXEC.EXE /L*v <logfile> /i <msifile> - to install

xdunpealx
01-23-2017, 04:37 PM
my log file is too big to upload here for any part of it ... that was really awesome..

here is a dropbox for the log

https://www.dropbox.com/s/gaxayu8g1n61jxw/log.log?dl=0

xdunpealx
01-23-2017, 04:48 PM
okay all my replies are not working.. i cant post my log its to large. I tried adding a dropbox link and my post does not show up. So I dont know what to do

xdunpealx
01-23-2017, 04:48 PM
That should have read

MSIEXEC.EXE /L*v <logfile> /i <msifile> - to install


Test with link:

https://www.dropbox.com/s/gaxayu8g1n61jxw/log.log?dl=0

chad.petersen
01-23-2017, 05:32 PM
In your log file do a search for the file name that you had mentioned in your first post (AACEncoder.dll, I believe it was in the screen shot) as well as the GUID for that Component. Read carefully what it is saying about any entries you find that include that name or that GUID and it might bring something to light. The log file is the way I solve 99% of the issues that I've ever had reported to me, so I can say you can generally trust the log file. Reading it and understanding it is a bit of a talent of its own. But, all it takes is some practice for the most part.

Chad

MarkusLatz
01-26-2017, 06:10 AM
Take a look to this line of your log file:

MSI (s) (84:88) [14:33:23:423]: Executing op: ComponentRegister(ComponentId={AC98FA6C-79A8-4E48-9832-F54FB4BE2AEC},KeyPath=C:\flex6\AACEncoder.dll,State=3,,Disk=1,SharedDllRefCount=2,BinaryType=0)

SharedRefCount means, that this file is also used from another application. Or the value is wrong.

That the file is uninstalled SharedDllRefCount should be 1.

For further info google "SharedDllRefCount".

And if you zip or 7z your log file you can upload without any problems.

regards

Markus

chad.petersen
01-26-2017, 01:42 PM
Just a quick thought - make sure you start over with a clean system for testing. If you ran this same installer in the past with the "Shared" setting set to "Yes" before you changed it to "No" for each component then there are potentially entries in the registry from those runs and it can interfere with things.

I won't bore you with all the details, but here's a reply to an actual open case I had with Flexera earlier last year. Mine was from 9:33 AM and the reply from Toan at Flexera was the 11:09 AM entry. Note the IOC-000067659 - they did reply back quickly at one point after InstallShield 2016 shipped that it was "fixed", but they did not tell me what they had done or how to go about changing the default to Shared=No. I'll re-open that case and ask the details about that.

--------------------------------------------------------------
Toan:

4/12/2016 11:09 AM Thank you for your response. I actually do agree with you and we do have an existing enhancement request for this very feature. The enhancement will allow you to set default settings for new components, including the Shared setting. This is a highly requested feature and we are hoping to add the feature soon in a future release. The work order is being tracked as IOC-000067659. We currently do not have an estimated time for when the feature will be added, but I will update this case as soon as one is released. You can also view resolved issue #'s in our latest product release notes. If you have any additional questions or concerns regarding this support incident, please do not hesitate to contact me.

-----------------------------------------------------------------------
Chad:

4/12/2016 9:33 AM One thing we would like to see changed is the default for any new Component appears to be Shared which is the opposite of what WiX does. We feel the WiX approach is the proper one and would like to see future versions of InstallShield change to using a similar approach to what Microsoft recommends.

------------------------------------------------------------------------

Thanks,
Chad

chad.petersen
01-26-2017, 01:47 PM
If I go here

http://helpnet.flexerasoftware.com/installshield23helplib/ReleaseNotes.htm

and search on "IOC-000067659"

you should be able to find what they have come up with as a solution. I have not tried this yet. But, this still likely won't alter whatever is in the registry from prior runs, like mentioned above.

Thanks,

Chda