How to check whether a user is in Administrator group in Install Shield

http://stackoverflow.com/questions/1097796/how-to-check-whether-a-user-is-in-administrator-group-in-install-shield-2009-basi

Installshield 12 Folder Access Permission Problems on Windows 7 / Vista

getting permission errors accessing files/directories on windows 7


How to set folder permissions with cacls?

第四個post有solution
Folder permisson Windows Vista


MSDN
FileSystemAccessRule Class

vista-使用icaclsexe快速變更檔案的存取權限

答案要付錢
Installing 'Compatibility Files' in Vista and Windows 7


Extra:

Migrating Projects to InstallShield 12

install, remove modify Windows Service

http://maxwell-tech.blogspot.com/2008/12/windowswindows-services.html
[windows]安装、移除、修改Windows Services

指令:sc [create | delete | config] 服務名稱 [參數]
主要參數列表:
  start= demand|boot|system|auto|disabled|delayed-auto  //啟動類型
  binPath= BinaryPathName                 //執行檔路徑
depend= 依存關係(以 / 分隔)
  DisplayName= [顯示名稱]                 //服務顯示名稱

安裝
sc create svnservice binpath= "d:\p\wangxudong.com\bin\svnserve.exe --service -r e:\repos" displayname= "svnservice" depend= Tcpip start= auto

删除
sc delete svnservice


修改設定
sc config svnservice binpath= "d:\p\wangxudong.com\bin\svnserve.exe --service -r e:\repos" displayname= "svnservice" depend= Tcpip


啟動服務net start svnservice