Jump to content

Yaliang

Members
  • Content Count

    18
  • Joined

  • Last visited

  • Days Won

    6

Yaliang last won the day on February 21 2016

Yaliang had the most liked content!

About Yaliang

  • Rank
    Wanderer

Profile Information

  • OS
    Windows 7
  1. hi,too late to replay. hope you finished your problems.:)
  2. thank you. Your problems and solutions are very helpful. When I write the code, I just on Win7_x86 OS.
  3. Like the title says. Had someone done the samething. I need some help. I get a article:http://support.microsoft.com/kb/269190/en-us. but the way fail. I do not know how to usr win32 APIS:ldap_sslinit, and how to conncet to the AD server use SSl. In my place,Google do not work well >_<. so if you have some advices or articles,please tell me. my email: 441926980@qq.com.
  4. It is my pleasure. Any question u can post here and we can work it out.
  5. I had reuploaded the example as download. The script costed me lot of time. And I try many ways. but share with other is happy.
  6. There are some ways to do this. Such as using a external DLL.But I do not like this way. The Inno surport Pascal script. The Pascal script can call standard Win32 API functions inside standard Windows DLLs. So we can check the app is whether running. Here is a part of script in section:; Any question, let me know. ;It work on 32 and 64 modules! [code] type HANDLE = LongInt; HMODULE = HANDLE; pHMODULE = Array[0..255] of HMODULE; LPDWORD = DWORD; PDWORD = Array[0..255] of DWORD; LPTSTR = String; const PROCESS_QUERY_INFORMATION = $400; PROCESS_VM_READ = $10; MAX_LENGTH = 255; function OpenProce
  7. use the function zylPinAppToTaskbar(), you just need two parameter, first, the dirctory of the *.exe; second, the real name of *.exe. maybe you must sure that *.exe is exist. then call the function where you need.
  8. I think your program is repacked by Inno. If you want to automatically pins it onto the taskbar, maybe you just need to modify the function CurPageChanged() , you can remove IsTaskSelected()function,and remove the [task] section. like following: procedure CurPageChanged(CurPageID: Integer); begin //When Finished page is shown, call the function //You can also call is when the "Finish" button clicked. if CurPageID = wpFinished then begin //if IsTaskSelected('pintaskbar') then //if Selected the [task] zylPinAppToTaskbar(ExpandConstant('{app}'), 'MyProg.exe'); end; end; Hope
  9. Yes it's true, shortcut is delete during uninstall... only not delete when use Uninstallable=no in [setup]... Regards... ;-) It is helpful... Regards... ;-)
  10. remove the shortcuts form taskbar, I think it need to delete the shorcuts form the special directory. C:\Users\Current User\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar. (The directory is hide.) Thanks again...!!! Regards... ;-) How you delete shortcut at uninstall...? deleting the link...? Regards... ;-) Maybe U can see the [uninstallDelete] section in InnoSetup documentation. I am trying to find a way in section.but not finished.In theory, pin or unpin is the same way.
  11. remove the shortcuts form taskbar, I think it need to delete the shorcuts form the special directory. C:\Users\Current User\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar. (The directory is hide.)
×
×
  • Create New...