View Full Version : Sb_root
NewsArchive
12-27-2008, 07:34 AM
Hi Friedrich,
I decided to try to implement your C7 code that you posted in an install.
Works fine, except that for some reason SB insists of putting %SB_ROOT% in
front of all the install folders, which creates a mess like
"C:\C:\Clarion6\3rdParty" or "C:\C:\Program Files\Softvelocity\Clarion
7\accessory" - notice the double drive letter!
I can't remove it. I have the same folder structre as you do. When I add a
file into _your_ script it shows up with just %CLA_TEMPLATE% When I add a
file to _my_ script it shows up as: %_SB_ROOT%\%CLA_TEMPLATE%
I have no idea why and can't see that I'm doing anything differently. Note
that I started out with a script that I'm modifying so I'm not starting from
scratch.
I'm dead in the water:(
Best regards,
--
Arnór Baldvinsson - Icetips Creative, Inc.
Port Angeles, Washington
www.icetips.com - www.buildautomator.com
Icetips product subscriptions at http://www.icetips.com/subscribe.php
NewsArchive
12-27-2008, 07:35 AM
Hi Friedrich,
> I have no idea why and can't see that I'm doing anything differently. Note
> that I started out with a script that I'm modifying so I'm not starting from
> scratch.
>
> I'm dead in the water:(
Doh!!! Found the "Absolteu folder path specification" Never had to use it
before<g> Problem should be solved!
Best regards,
--
Arnór Baldvinsson - Icetips Creative, Inc.
Port Angeles, Washington
www.icetips.com - www.buildautomator.com
Icetips product subscriptions at http://www.icetips.com/subscribe.php
NewsArchive
12-27-2008, 07:35 AM
Hi Friedrich,
> I have no idea why and can't see that I'm doing anything differently. Note
> that I started out with a script that I'm modifying so I'm not starting from
> scratch.
Ok, there is something weird going on there.
When I create a folder in the "Always install" node and check the "Absolute
folder path specification" it's ok. When I create more folders they are
then also created with the checkbox checked. However, some of them, when
compiling, are resolved to %_SB_ROOT% even though the checkbox is checked.
Unchecking the ones that misbehave, compile and then go back and check the
"Absolute..." seems to correct this issue.
It's like the checkbox doesn't reflect the actual setting or something.
I.e. even if it's checked you may still get %SB_ROOT% in front of the path
variable.
Best regards,
--
Arnór Baldvinsson - Icetips Creative, Inc.
Port Angeles, Washington
www.icetips.com - www.buildautomator.com
Icetips product subscriptions at http://www.icetips.com/subscribe.php
NewsArchive
12-27-2008, 07:36 AM
Hi Arnór,
> Ok, there is something weird going on there.
>
> When I create a folder in the "Always install" node and check the
> "Absolute folder path specification" it's ok. When I create more folders
> they are then also created with the checkbox checked. However, some of
> them, when compiling, are resolved to %_SB_ROOT% even though the checkbox
> is checked.
>
> Unchecking the ones that misbehave, compile and then go back and check the
> "Absolute..." seems to correct this issue.
>
> It's like the checkbox doesn't reflect the actual setting or something.
> I.e. even if it's checked you may still get %SB_ROOT% in front of the path
> variable.
Do you have a sample project that demonstrates this problem? I can't
reproduce it here :-( This option is there for years (I think 5.0 Gold) and
we are using it in all of our own installations for years.
Thanks,
Friedrich
--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910
SetupBuilder "point. click. ship"
Create Windows Vista ready installations in minutes
-- Official Comodo Code Signing and SSL Certificate Partner
NewsArchive
12-27-2008, 07:36 AM
Hi Arnór,
> Ok, there is something weird going on there.
>
> When I create a folder in the "Always install" node and check the
> "Absolute folder path specification" it's ok. When I create more folders
> they are then also created with the checkbox checked. However, some of
> them, when compiling, are resolved to %_SB_ROOT% even though the checkbox
> is checked.
>
> Unchecking the ones that misbehave, compile and then go back and check the
> "Absolute..." seems to correct this issue.
>
> It's like the checkbox doesn't reflect the actual setting or something.
> I.e. even if it's checked you may still get %SB_ROOT% in front of the path
> variable.
I think I can reproduce this in C6 and C7. You are right. It seems to me
that the IDE does not "clear" the "Absolute folder path specification"
checkbox settings.
Item in review. Workaround if this problem comes up: Open the "Folder
Properties" details ("Absolute folder path specification" check box is
marked) and click the "OK" button.
Thank you for bringing this to my attention.
Friedrich
--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910
SetupBuilder "point. click. ship"
Create Windows Vista ready installations in minutes
-- Official Comodo Code Signing and SSL Certificate Partner
NewsArchive
12-27-2008, 07:37 AM
Fixed! Stupid bug.
--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910
SetupBuilder "point. click. ship"
Create Windows Vista ready installations in minutes
-- Official Comodo Code Signing and SSL Certificate Partner
NewsArchive
12-28-2008, 08:11 AM
Hi Friedrich,
> Fixed! Stupid bug.
Cool! Aren't they all?<g>
Best regards,
--
Arnór Baldvinsson - Icetips Creative, Inc.
Port Angeles, Washington
www.icetips.com - www.buildautomator.com
Icetips product subscriptions at http://www.icetips.com/subscribe.php
NewsArchive
12-28-2008, 08:12 AM
>> Fixed! Stupid bug.
>
> Cool! Aren't they all?<g>
<BG> :)
Friedrich
NewsArchive
12-28-2008, 08:12 AM
Hi Friedrich,
> Item in review. Workaround if this problem comes up: Open the "Folder
> Properties" details ("Absolute folder path specification" check box is
> marked) and click the "OK" button.
Here is what I found:
If I added a folder AND checked the checkbox it would show up checked on
each folder I added after that, but seemed to be messed up.
If I added a folder and did NOT check the checkbox it would not be on any of
the subsequent folders. If I then went back and checked each one everything
was ok.
It seemed related to checking it while adding the folders.
Best regards,
--
Arnór Baldvinsson - Icetips Creative, Inc.
Port Angeles, Washington
www.icetips.com - www.buildautomator.com
Icetips product subscriptions at http://www.icetips.com/subscribe.php
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.