View Full Version : Script seems to ignore my call dll?
NewsArchive
06-18-2009, 01:37 AM
I think I have tamed the passing of the install directory to my dll, but
The script seems to be ignoring my call dll
I make changes and recompile the dll, put messages in the DLL, but the
messages never appear.
Even put a message at the start of the dll Message('Starting') and never
shows.
The path in the Required support file checks out.
--
Dan Scott
Garage Partner Pro
www.garagepartner.com
NewsArchive
06-18-2009, 01:39 AM
Perhaps the wrong copy of the dll is being loaded.
Are you including the .dll as a "support file"?
That's how I do it. SB automatically extracts the dll to whatever the
temp folder is.
Jeff Slarve
NewsArchive
06-18-2009, 01:39 AM
Yes. I checked the validity of the support file.
--
Dan Scott
Garage Partner Pro
www.garagepartner.com
NewsArchive
06-18-2009, 01:40 AM
Dan,
> I think I have tamed the passing of the install directory to my dll, but
>
> The script seems to be ignoring my call dll
> I make changes and recompile the dll, put messages in the DLL, but the
> messages never appear.
>
> Even put a message at the start of the dll Message('Starting') and never
> shows.
>
> The path in the Required support file checks out.
I would suggest to check the "Call DLL" return value.
If the function succeeds, the %_SB_ERRORCODE% return value is zero.
If the function fails, the return value is nonzero.
HTH,
--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910
SetupBuilder is installation -- "point. click. ship"
-- Official Comodo Code Signing and SSL Certificate Partner
NewsArchive
06-18-2009, 01:41 AM
Dan,
I have developed a small source code demo for you (see attached).
The installer calls the DLL and passes the installation folder
(%_SB_INSTALLDIR% variable value) to the DLL (see attached screenshots).
Does this help?
--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910
SetupBuilder is installation -- "point. click. ship"
-- Official Comodo Code Signing and SSL Certificate Partner
NewsArchive
06-19-2009, 01:39 AM
Friedrich
For some reason I was using %_SB_RETURN%, may be a carry over from SB4?
I will test with %_SB_ERRORCODE%
Thnaks
--
Dan Scott
Garage Partner Pro
www.garagepartner.com
NewsArchive
06-19-2009, 01:41 AM
Pictures are better then words for me, this will work
Thanks
--
Dan Scott
Garage Partner Pro
www.garagepartner.com
NewsArchive
06-19-2009, 01:42 AM
Friedrich
This helped with passing the install folder fine, but I think I have too
much
other stuff going on in the DLL for me to do what I want. I guess I need to
take a course
in scripting language.
I think I can still do what I want in the older version
Thanks
--
Dan Scott
Garage Partner Pro
www.garagepartner.com
NewsArchive
06-19-2009, 01:42 AM
Hi Dan,
> This helped with passing the install folder fine, but I think I have
> too much other stuff going on in the DLL for me to do what I want. I
> guess I need to take a coursein scripting language.
>
> I think I can still do what I want in the older version
There is no need to convert the stuff from the DLL code to SetupScript. If
your DLL code works, then you can continue to use it!
What do you have to do? Perhaps we can help?
Friedrich
NewsArchive
06-19-2009, 01:42 AM
Friedrich
I hate to waste our time, but let's try one more time. I will send you the
clw for the Dll and a note of what I am trying to accomplish via Private
Email
TIA
--
Dan Scott
Garage Partner Pro
www.garagepartner.com
NewsArchive
06-19-2009, 01:43 AM
I meant YOUR time, Mine is a waste anytime <g>
--
Dan Scott
Garage Partner Pro
www.garagepartner.com
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.