View Single Post
Old 25th April 2012, 14:54   #218
pocruadhlaoich
Junior Member
 
Join Date: Jul 2010
Posts: 11
Hi,
I have a customer who wants to install our software but is being prevented from doing so because they are being asked to close a lot of processes that they do not want to ( please see attached image ).
The code that I am using is as follows:

PHP Code:
#installer pages

!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_LICENSE "${MY_DEPENDENCIES_FOLDER}\installer\License\License.txt"
Page Custom LockedListPage
!insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_PAGE_FINISH

#uninstaller pages

!insertmacro MUI_UNPAGE_WELCOME
UninstPage Custom un
.LockedListPage
!insertmacro MUI_UNPAGE_CONFIRM
!insertmacro MUI_UNPAGE_INSTFILES

Function LockedListPage
    
#custom dialog shown during installation which will check if any required files need to be closed
    
    
!insertmacro MUI_HEADER_TEXT "Close Required Files" "Files that must be closed so that setup can continue."
    
LockedList::AddFolder $INSTDIR
    LockedList
::Dialog
    Pop $R0
FunctionEnd

Function un.LockedListPage
    
#custom dialog shown during uninstallation which will check if any required files need to be closed
    
    
!insertmacro MUI_HEADER_TEXT "Close Required Files" "Files that must be closed so that setup can continue."
    
LockedList::AddFolder $INSTDIR
    LockedList
::Dialog
    Pop $R0
FunctionEnd 
Can you see any reason why it thinks that so many processes need to be stopped? The installer would add .exe's, .dll's and various help files to the computer. Our software has not even been installed onto this computer yet, so I am not sure what to do. Should I call something other than AddFolder?
Attached Thumbnails
Click image for larger version

Name:	pic13829-1.jpg
Views:	310
Size:	55.2 KB
ID:	49608  
pocruadhlaoich is offline   Reply With Quote