I want that my installer search for a path in registry. BUT, if it don't find anything, I want that the installer send a message and SKIP the section that need the path.
Something like: get a path from an app. If it don't find the path, send a message saying 'install app needed first, then try to install the plugin ('or whatever') again' and go to next section.
Right now, I have this:
How I can implement it?MessageBox MB_OK "$(MessageWinamp)"
ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\winamp.exe" "Path"
DetailPrint "Winamp is installed at: $0"
SetDetailsPrint textonly
DetailPrint "$(InstallWinamp)"
SetDetailsPrint listonly
Sleep 1000
SetOutPath "$0\Plugins"
File "gen_CADStarter.Plugin.dll"
File "CADStarter.dll"