This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- gotit
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 21, 2008
11:41 AM
[INSTALLDIR] points me wrong !
Hello!
I have a problem during install. The [INSTALLDIR] is given manualli from a line edit, and should be available for change. If it's let in the default state
c:\Program Files\Software_Name
all works well, but when the end user changes it (e.g. d:\program files\Software_name), the installation process puts some files at the new location, but many other in the default one.
Checking the logs, seems that [INSTALLDIR] has the correct (new user input) value, but I can't seem to figure out why so many files are putted to the old path.
The "Direct Editor -> Directory" show [INSTALLDIR] as parent to folders to install, but don't place them in the right place 😞
Is the anyone that has an idea on what I am missing?
Thanks,
Daniel
I have a problem during install. The [INSTALLDIR] is given manualli from a line edit, and should be available for change. If it's let in the default state
c:\Program Files\Software_Name
all works well, but when the end user changes it (e.g. d:\program files\Software_name), the installation process puts some files at the new location, but many other in the default one.
Checking the logs, seems that [INSTALLDIR] has the correct (new user input) value, but I can't seem to figure out why so many files are putted to the old path.
The "Direct Editor -> Directory" show [INSTALLDIR] as parent to folders to install, but don't place them in the right place 😞
Is the anyone that has an idea on what I am missing?
Thanks,
Daniel
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 21, 2008
12:02 PM
danieluc wrote:
Hello!
I have a problem during install. The [INSTALLDIR] is given manualli from a line edit, and should be available for change. If it's let in the default state
c:\Program Files\Software_Name
all works well, but when the end user changes it (e.g. d:\program files\Software_name), the installation process puts some files at the new location, but many other in the default one.
Checking the logs, seems that [INSTALLDIR] has the correct (new user input) value, but I can't seem to figure out why so many files are putted to the old path.
The "Direct Editor -> Directory" show [INSTALLDIR] as parent to folders to install, but don't place them in the right place 😞
Is the anyone that has an idea on what I am missing?
Thanks,
Daniel
Are you using INSTALLDIR in custom actions or something to set the path of some of these files?
Describe a bit more about how you're using INSTALLDIR in your setup, the reason I'm asking is that I had an issue at some point in the past where the value of properties was being resolved and cached before the value was changed by the using in a dialog box, perhaps something similar is happening in this case.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 25, 2008
02:51 AM
Thanx for the reply alegerlotz,
Looked in all my custom actions, and none seem to alter the [INSTALLDIR] variable. Got my eyes over another post though that seem to have exactly the same behavior:
http://knowledge.macrovision.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&externalId=http--communitymacrovisioncom-archive-indexphpt-104597html&sliceId=&docTypeID=DT_MACROVISIONCOMMUNITY_1_1&dialogID=7008443&stateId=0%200%207006334
but I don't see the solution. None seem to work for me 😞
Any idea ?
Thanx,
Daniel
Looked in all my custom actions, and none seem to alter the [INSTALLDIR] variable. Got my eyes over another post though that seem to have exactly the same behavior:
http://knowledge.macrovision.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&externalId=http--communitymacrovisioncom-archive-indexphpt-104597html&sliceId=&docTypeID=DT_MACROVISIONCOMMUNITY_1_1&dialogID=7008443&stateId=0%200%207006334
but I don't see the solution. None seem to work for me 😞
Any idea ?
Thanx,
Daniel
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 05, 2008
05:03 AM
I've manage to solve my problem.
The idea was to Call SetTargetPath with the [INSTALLDIR] argument in the behavior of the next button on that dialog.
Thanks
The idea was to Call SetTargetPath with the [INSTALLDIR] argument in the behavior of the next button on that dialog.
Thanks