Цитата DeepWaters:
когда я ее устанавливаю то при установке она не спрашивает о месте установки »
|
Зависит от инсталлятора.
NSIS (На примере PotPlayer):
Вариант 1:
Код:
![Выделить весь код](images/misc/selectcode.png)
PotPlayerSetup.exe /D=C:\Program Files\PotPlayer
Вариант 2:
Код:
![Выделить весь код](images/misc/selectcode.png)
MD "C:\Program Files\PotPlayer"
REG ADD "HKCU\Software\DAUM\PotPlayer" /v ProgramFolder /t REG_SZ /d "C:\Program Files\PotPlayer" /f
PotPlayerSetup.exe
Inno Setup:
Вариант 1:
Код:
![Выделить весь код](images/misc/selectcode.png)
setup.exe /DIR="C:\Program Files\NewPath"
Вариант 2:
Код:
![Выделить весь код](images/misc/selectcode.png)
REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Program_is1" /v "Inno Setup: App Path" /t REG_SZ /d "C:\Program Files\NewPath" /f
setup.exe
Microsoft Windows Installer
Код:
![Выделить весь код](images/misc/selectcode.png)
msiexec /i "RosettaStoneVersion3.msi" INSTALLDIR="C:\Program Files\Rosetta Stone" /qf
Цитата DeepWaters:
но ее название не играет никакой роли »
|
Уверены?
Даже содержимое версии программ могут отличаться:
Версия 3
Код:
![Выделить весь код](images/misc/selectcode.png)
Setup.exe\1031.mst
Setup.exe\1034.mst
Setup.exe\1036.mst
Setup.exe\1040.mst
Setup.exe\1041.mst
Setup.exe\1042.mst
Setup.exe\2052.mst
Setup.exe\Data.cab
Setup.exe\RosettaStoneVersion3.msi
Собрано с помощью Paquet Builder
Версия 5
Код:
![Выделить весь код](images/misc/selectcode.png)
Setup.exe\AppInstaller
Setup.exe\AppInstaller\1031.mst
Setup.exe\AppInstaller\1036.mst
Setup.exe\AppInstaller\1040.mst
Setup.exe\AppInstaller\1041.mst
Setup.exe\AppInstaller\1042.mst
Setup.exe\AppInstaller\1046.mst
Setup.exe\AppInstaller\2052.mst
Setup.exe\AppInstaller\3082.mst
Setup.exe\AppInstaller\Data.cab
Setup.exe\AppInstaller\RosettaStoneLanguageTraining.msi
Setup.exe\HomeschoolActivationDetector
Setup.exe\HomeschoolActivationDetector\HomeschoolActivationDetector.exe
Setup.exe\SpeechInstaller
Setup.exe\SpeechInstaller\1031.mst
Setup.exe\SpeechInstaller\1036.mst
Setup.exe\SpeechInstaller\1040.mst
Setup.exe\SpeechInstaller\1041.mst
Setup.exe\SpeechInstaller\1042.mst
Setup.exe\SpeechInstaller\1046.mst
Setup.exe\SpeechInstaller\2052.mst
Setup.exe\SpeechInstaller\3082.mst
Setup.exe\SpeechInstaller\Data.cab
Setup.exe\SpeechInstaller\RosettaStoneLtdServices.msi
Собрано с помощью NSIS
www.rosettastone.com? Там msi (exe » msi), присутствует цифровая подпись и путь установки выбирается.