Inno Setup: uninstall process can

InstallerExpert created the topic: Inno Setup: uninstall process can
Problem:

What kind of magic has this ‘MSIMG32.DLL’? Why can’t inno setup delete it?

Edit: this file was just added to {app} using section, at the end of uninstall I get the message “Some elements could not be removed. These can be removed manually.” what is referred to MSIMG32.DLL exactly. [b]ANSWER:[/b] It is perhaps likely that that DLL is in use by some running application. There is an addon for InnoSetup that deals with this situation. There is not enough information in the question from which other ideas may be produced. There is a possibility that, on your system, that file either is, or has been infected by a virus, as suggested by ThreatExpert. You should exclude that possibility by running a system scan with your anti-virus program.[File] section, at the end of uninstall I get the message “Some elements could not be removed. These can be removed manually.” what is referred to MSIMG32.DLL exactly.

ANSWER:
It is perhaps likely that that DLL is in use by some running application. There is an addon for InnoSetup that deals with this situation. There is not enough information in the question from which other ideas may be produced.

There is a possibility that, on your system, that file either is, or has been infected by a virus, as suggested by ThreatExpert. You should exclude that possibility by running a system scan with your anti-virus program.

Tagged :

INNO Setup: Defining Configuration Files in Setup Package

msiexpert created the topic: INNO Setup: Defining Configuration Files in Setup Package

This is probably a simple fix but I can’t seem to wrap my head around it. I have an app to install that will need the user to select 1 of 3 possible INI files to accompany the install. I could easily do 3 different setups, each using a different INI but I would like to simplify matters and just give the user the choice of INI at the time of install. The INI files have the same name, so when packaged they will have to be given different names. Once the user selects which INI to install, it would be extracted into the app directory and renamed. Is there any way to do this?

Thanks for your help!

msiexpert replied the topic: Re: INNO Setup: Defining Configuration Files in Setup Package
A possible way is to create a [Run] section (or add to it) and execute (AfterInstall: parameter) a Pascal routine that delete the extra ini files and rename the remaining one

Tagged :

Switch to the finish page in Inno Setup installation

InstallerExpert created the topic: Switch to the finish page in Inno Setup installation
I* added a few custom pages to my setup. In one of this custom pages I do some checks. If this checks failed, I want switch to finish page. How can I do this?

I can not do this with ShouldSkipPage event function because:

function ShouldSkipPage(PageID: Integer): Boolean;
begin
// this will NEVER happened - see documentation below
if (PageID = wpInstalling) or (PageID = wpPreparing) or (PageID = wpWelcome) then
begin
// skip install - simply for example
result := True;
exit;
end;

resutl := false;
end;

Tagged :