Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move to folders not showing other drives, only show the desktop folder #19

Open
madmax2 opened this issue May 13, 2018 · 5 comments
Open

Comments

@madmax2
Copy link

madmax2 commented May 13, 2018

After making a rule for a folder and choosing where to move the files
I click browse but it does not show any other folders or drives other than the desktop folder

@madmax2 madmax2 changed the title Move to folders not showing other drivers, only show the desktop folder Move to folders not showing other drives, only show the desktop folder May 13, 2018
@jcklpe
Copy link

jcklpe commented Sep 15, 2018

@madmax2 How do you select for the folder in the GUI rules? It doesn't have an extension and when I go purely by how old the files are, it doesn't delete folders, just the files.

@VoodooLobster
Copy link

If it helps I was able to get the FileSelectFolder window to work better by changing line 604 in the gui-rule-ahk to

FileSelectFolder, GUIDestination, *, 3, Please select a destination

@madmax2
Copy link
Author

madmax2 commented Jun 12, 2019

@madmax2 I made the changes as suggested but I can't compile it.
Can you help with this?

I already install the NSIS and place Killproc dll in the NSIS plugin directory
I clicked build.ahk but get error "You do not have NSIS installed, the installer will not be compiled.

Also tried dragging installer.nsi to makensisw program but get error
`

  • InstallOptions::show
  • KillProc::FindProcesses
  • KillProc::KillProcesses
  • LangDLL::LangDialog
  • Math::Script
  • NSISdl::download
  • NSISdl::download_quiet
  • Splash::show
  • StartMenu::Init
  • StartMenu::Select
  • StartMenu::Show
  • System::Alloc
  • System::Call
  • System::Copy
  • System::Free
  • System::Get
  • System::Int64Op
  • System::Store
  • TypeLib::GetLibVersion
  • TypeLib::Register
  • TypeLib::UnRegister
  • UserInfo::GetAccountType
  • UserInfo::GetName
  • UserInfo::GetOriginalAccountType
  • VPatch::GetFileCRC32
  • VPatch::GetFileMD5
  • VPatch::vpatchfile
  • nsDialogs::Create
  • nsDialogs::CreateControl
  • nsDialogs::CreateItem
  • nsDialogs::CreateTimer
  • nsDialogs::GetUserData
  • nsDialogs::KillTimer
  • nsDialogs::OnBack
  • nsDialogs::OnChange
  • nsDialogs::OnClick
  • nsDialogs::OnNotify
  • nsDialogs::SelectFileDialog
  • nsDialogs::SelectFolderDialog
  • nsDialogs::SetRTL
  • nsDialogs::SetUserData
  • nsDialogs::Show
  • nsExec::Exec
  • nsExec::ExecToLog
  • nsExec::ExecToStack

!define: "MUI_INSERT_NSISCONF"=""

Changing directory to: "H:\Downloads_Compressed\belvedere-master\installer"

Processing script file: "H:\Downloads_Compressed\belvedere-master\installer\installer.nsi"
!define: "PRODUCT_NAME"="Belvedere"
!define: "PRODUCT_VERSION"="0.7.1"
!define: "PRODUCT_PUBLISHER"="Lifehacker"
!define: "PRODUCT_WEB_SITE"="http://lifehacker.com/341950/belvedere-automates-your-self+cleaning-pc"
!define: "PRODUCT_HELP_TEXT"="Belvedere Help.chm"
!define: "PRODUCT_DIR_REGKEY"="Software\Microsoft\Windows\CurrentVersion\App Paths\Belvedere.exe"
!define: "PRODUCT_UNINST_KEY"="Software\Microsoft\Windows\CurrentVersion\Uninstall\Belvedere"
!define: "PRODUCT_UNINST_ROOT_KEY"="HKLM"
!define: "PRODUCT_STARTMENU_REGVAL"="NSIS:StartMenuDir"
!define: "MUI_STARTMENUPAGE_NODISABLE"=""
!define: "MUI_STARTMENUPAGE_DEFAULTFOLDER"="Belvedere"
!define: "MUI_STARTMENUPAGE_REGISTRY_ROOT"="HKLM"
!define: "MUI_STARTMENUPAGE_REGISTRY_KEY"="Software\Microsoft\Windows\CurrentVersion\Uninstall\Belvedere"
!define: "MUI_STARTMENUPAGE_REGISTRY_VALUENAME"="NSIS:StartMenuDir"
!define: "MUI_FINISHPAGE_TEXT"="Thank you for installing Belvedere.\r\n\r\nPlease run 'Verify Configuration' on the Preferences tab if you have just completed an upgrade."
!define: "MUI_FINISHPAGE_RUN"="$INSTDIR\Belvedere.exe"
!define: "MUI_FINISHPAGE_SHOWREADME"="$INSTDIR\resources\Belvedere Help.chm"
!define: "MUI_FINISHPAGE_SHOWREADME_TEXT"="Show Help Text"
VIAddVersionKey: "ProductName" "Belvedere"
VIAddVersionKey: "CompanyName" "Lifehacker"
VIAddVersionKey: "FileDescription" "Belvedere Installer"
VIAddVersionKey: "FileVersion" "0.1"
VIAddVersionKey: "LegalCopyright" ""
VIAddVersionKey: "ProductVersion" "0.7.1"
CRCCheck: on
SetCompress: force
SetCompressor: lzma
SetDatablockOptimize: on
BrandingText: "Belvedere 0.7.1"
!include: "C:\Program Files (x86)\NSIS\Include\MUI.nsh"
!include: "C:\Program Files (x86)\NSIS\Contrib\Modern UI\System.nsh"
NSIS Modern User Interface version 1.8 - Copyright 2002-2009 Joost Verburg (C:\Program Files (x86)\NSIS\Contrib\Modern UI\System.nsh:8)
!define: "MUI_INCLUDED"=""
!define: "MUI_SYSVERSION"="1.8"
!define: "MUI_VERBOSE"="3"
!include: closed: "C:\Program Files (x86)\NSIS\Contrib\Modern UI\System.nsh"
!include: closed: "C:\Program Files (x86)\NSIS\Include\MUI.nsh"
!define: "MUI_ABORTWARNING"=""
!define: "MUI_ICON"="C:\Program Files (x86)\NSIS\Contrib\Graphics\Icons\modern-install.ico"
!define: "MUI_UNABORTWARNING"=""
!define: "MUI_UNICON"="C:\Program Files (x86)\NSIS\Contrib\Graphics\Icons\modern-uninstall.ico"
!insertmacro: MUI_PAGE_WELCOME
!insertmacro: end of MUI_PAGE_WELCOME
!insertmacro: MUI_PAGE_DIRECTORY
!insertmacro: end of MUI_PAGE_DIRECTORY
!insertmacro: MUI_PAGE_INSTFILES
!insertmacro: end of MUI_PAGE_INSTFILES
!insertmacro: MUI_PAGE_FINISH
!insertmacro: end of MUI_PAGE_FINISH
!insertmacro: MUI_UNPAGE_INSTFILES
!insertmacro: end of MUI_UNPAGE_INSTFILES
!insertmacro: MUI_LANGUAGE
!insertmacro: end of MUI_LANGUAGE
Name: "Belvedere 0.7.1"
OutFile: "../dist/install-Belvedere-0.7.1.exe"
InstallDir: "$PROGRAMFILES\Belvedere"
InstallRegKey: "HKLM\Software\Microsoft\Windows\CurrentVersion\App Paths\Belvedere.exe"
ShowInstDetails: show
ShowUnInstDetails: show
Section: "Installation" ->(secApp)
SetOutPath: "$INSTDIR"
SetOverwrite: ifnewer
File: "Belvedere.exe" -> no files found.
Usage: File [/nonfatal] [/a] ([/r] [/x filespec [...]] filespec [...] |
/oname=outfile one_file_only)
Error in script "H:\Downloads_Compressed\belvedere-master\installer\installer.nsi" on line 84 -- aborting creation process
`

@VoodooLobster
Copy link

@madmax2 I made the changes as suggested but I can't compile it.
Can you help with this?

I already install the NSIS and place Killproc dll in the NSIS plugin directory
I clicked build.ahk but get error "You do not have NSIS installed, the installer will not be compiled.

I just used the right-click option on the AHK file to compile the EXE, it seems to have lost the links to help files, but works otherwise.

@madmax2
Copy link
Author

madmax2 commented Jul 26, 2019

@VoodooLobster thanks..
I got it to compiled by following your updated instruction.
That was a lot simpler to compile than my own attempt.

In regards to your help file error.
It is quite simple to solve..
the reason why you are not able to open the help file is because
the resource folder is missing that "Belvedere Help.chm"

Just download and install the official 0.7.1 release from any of the google searches,
e.g. https://www.majorgeeks.com/files/details/belvedere.html

then copied the "Belvedere.exe" that you compiled into location where you just installed the official released..
e.g. C:\Program Files (x86)\Belvedere

If you check the c:\Program Files (x86)\Belvedere\resources, there should be a Belvedere Help.chm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants