I’m writing a .msi using Wise Installer Editor and I want to copy all my files into a directory specified in a registry key.
How can I specify this in Wise?
Thanks in advance,
Ernesto
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can try following:
Assume that on the destination computer you have following registry key: “HKLM\SOFTWARE\Custom” and some value named “directory” which is set to “C:\program files\MyDestinationDirectory”
in the Editor you select: Target System\System Search where you add new Registry Search Type:
So when installation starts, destination directory will be equal to those defined in the registry.
But there is a catch: the directory must exist; “C:\program files\MyDestinationDirectory” needs to be a valid path.
Anyway, hope this helps a bit:)