PDA

View Full Version : Webupdate SB6 - cant find original project



NewsArchive
01-14-2007, 06:12 AM
Hi Friedrich

Just a little one, if I go to do a webupdate project (File, New, Web Update
Project) when I select the original sb file I cant select SB6 projects only
SB5.

The other thing I noticed which might be a microsoft problem, is I copied
over the folders that contained different SB5 projects into my new SB6
folder (to avoid any confusions<g>), loaded up the sb5 file, converted it,
the did File Save As and becuase there is a subfolder of the same name as
the new sb6 project, when I click save it takes me into the sub folder.

So I renamed the folder using the save as file dialog (right mouse click on
subfolder, rename) and the button changes from Save to Open when I hilight
the folder. So having renamed the folder I then click back onto the Filename
drop down but the button doesnt change back. It only changes back if I click
on an SB6 file (if present) and then put in the name I want to save it as.
<g>

The only other thing I have noticed when compiler converted SB5-SB6 files is
the compiler has two lines warning me a function is not support any more.
Projectname.sb6(75): warning GEN1082: Function not supported any longer.

Its the Wizard Auto Break lines in the script.

When I did the conversion I chose yes to everything would you have expected
this to have been converted or removed and is it ok to remove it or should I
replace it with a new function?<g>

Cheers

Richard

NewsArchive
01-14-2007, 06:13 AM
One other thing with the conversion process, it carries over the webupdate
client settings but would you expect it to change the script code from
[SB5_LIB]\wupdate.exe to [SB_LIB]\wupdate.exe?<g>

Cheers

Richard

NewsArchive
01-15-2007, 08:29 AM
Hi Richard,

Leaving it as [SB5_LIB] is correct. In SB6 the [SB5_LIB] compiler variable
points to [SB_LIB] ;-)

Friedrich

NewsArchive
01-15-2007, 08:29 AM
Richard,

> Just a little one, if I go to do a webupdate project (File, New, Web
> Update Project) when I select the original sb file I cant select SB6
> projects only SB5.

Good point. Fixed now, thank you.

> The other thing I noticed which might be a microsoft problem, is I copied
> over the folders that contained different SB5 projects into my new SB6
> folder (to avoid any confusions<g>), loaded up the sb5 file, converted it,
> the did File Save As and becuase there is a subfolder of the same name as
> the new sb6 project, when I click save it takes me into the sub folder.
>
> So I renamed the folder using the save as file dialog (right mouse click
> on subfolder, rename) and the button changes from Save to Open when I
> hilight the folder. So having renamed the folder I then click back onto
> the Filename drop down but the button doesnt change back. It only changes
> back if I click on an SB6 file (if present) and then put in the name I
> want to save it as. <g>

This is a standard Windows behavior ;-) There is nothing we as developers
can do here.

> The only other thing I have noticed when compiler converted SB5-SB6 files
> is the compiler has two lines warning me a function is not support any
> more.
> Projectname.sb6(75): warning GEN1082: Function not supported any longer.
>
> Its the Wizard Auto Break lines in the script.
>
> When I did the conversion I chose yes to everything would you have
> expected this to have been converted or removed and is it ok to remove it
> or should I replace it with a new function?<g>

You can delete the line or comment it out. But you can also leave it
where it is ;-)

I decided not to remove the "Wizard Auto Break" line during the conversion
process. SetupBuilder 5.6 can still compile a .sb5 project that was opened
with SetupBuilder 6. So in case there is a showstopper in SB6, you can go
back to SB5 in a minute.

Thanks,
Friedrich