1 Attachment(s)
Re: Paging Jane or alternative Armadillo - Setupbuilder Expert
> Hi David,
>
>> Well, possibly a web hosting email problem (on my side) - sent them by
>> alternate email method using Road Runner Broadband Cable modem email.
>
> Received!
>
> In the "converted SB6 to SB7" project, you have QUIETREGISTER as "Command
> Line" Run Parameter. In the "new" SB7 project, this parameter is missing.
> Is it possible that this QUIETREGISTER causes the problem?
Friedrich,
No, that particular command line parameter makes no difference - it's
specific to Armadillo use, and will display a registration form during the
install when included on the command line as shown in this screen shot.
The latest SB7 project file you received (one that works with RUN program
in install) was actually tested without that command line option - after
reading the Armadillo docs a bit more, in one of my updated tests - I added
that option.
David
--
From David Troxell - Product Scope 7.8 - Encourager Software
Product Scope 7 Viewer - NO Registration Fee! Free to Use!
http://www.encouragersoftware.com/
Clarion Third Party Profile Exchange Online
http://encouragersoftware.com/profile/clarlinks.html
http://www.profileexchanges.com/blog/
Re: Paging Jane or alternative Armadillo - Setupbuilder Expert
Hi David,
> No, that particular command line parameter makes no difference - it's
> specific to Armadillo use, and will display a registration form during the
> install when included on the command line as shown in this screen shot.
>
> The latest SB7 project file you received (one that works with RUN program
> in install) was actually tested without that command line option - after
> reading the Armadillo docs a bit more, in one of my updated tests - I
> added that option.
I checked the script internal parameters and the "Run Program" functions
have the same parameters in the SB6 and SB7 projects (except for the OS
Conditions, but this should not make a difference). It's an absolute
mystery to me.
It would be interesting to know what happens if you copy the "Run Program"
function from the SB6 project to the SB7 project. You can do this by
opening the SB6 and SB7 project in two SB7 IDE instances.
Friedrich
Re: Paging Jane or alternative Armadillo - Setupbuilder Expert
Glad you got it figured out, David... and that my fabulous article hadn't
led you astray <g>
Jane
Re: Paging Jane or alternative Armadillo - Setupbuilder Expert
> Glad you got it figured out, David... and that my fabulous article hadn't
> led you astray <g>
Jane,
Thanks for the article and some pointers - actually re-reading the article
really helped me understand the whole process a bit better -
I misinterpreted one of my tests AND thought I had it working - but I had
installed ANOTHER program that used STUB EXE method, and your article
helped me greatly in that area.
BTW, with Virtual Machine snapshots - we have come a LONG way from
re-installing OSs from 5 CD's - multiple times!
David
--
From David Troxell - Product Scope 7.8 - Encourager Software
Product Scope 7 Viewer - NO Registration Fee! Free to Use!
http://www.encouragersoftware.com/
Clarion Third Party Profile Exchange Online
http://encouragersoftware.com/profile/clarlinks.html
http://www.profileexchanges.com/blog/
Re: Paging Jane or alternative Armadillo - Setupbuilder Expert
David,
> So it would seem, I have a problem with a * particular * Product Scope 7
> SB project, and I can send you the one that failed if need be.
Both projects (.sb6 and .sb7) have the same format, so it does not have
anything to do with the project per-se. You can even open the .sb7 project
back in the SB6 IDE and compile it.
I would suggest to check both %_SB_ERRORCODE and %_SB_RETURNEX% variables.
If the call to ShellExecuteEx/CreateProcess failed, this should give more
information.
Friedrich
2 Attachment(s)
Re: Paging Jane or alternative Armadillo - Setupbuilder Expert
> Hi David,
>
>> No, that particular command line parameter makes no difference - it's
>> specific to Armadillo use, and will display a registration form during the
>> install when included on the command line as shown in this screen shot.
>>
>> The latest SB7 project file you received (one that works with RUN program
>> in install) was actually tested without that command line option - after
>> reading the Armadillo docs a bit more, in one of my updated tests - I
>> added that option.
>
> I checked the script internal parameters and the "Run Program" functions
> have the same parameters in the SB6 and SB7 projects (except for the OS
> Conditions, but this should not make a difference).
Friedrich,
Well, at least in my SB7 project - the OS conditions DOES make a
difference!
It was something I changed when I went back to the another SB project, not
realizing that it WAS the critical difference.
Using the failed RUN program within install SB7 project - I copied as you
requested - of course that RUN Program HAD the OS Independent condition
checkboxed.
Recompiled - successful!
OK, working with SAME project - Conditions - W2K - W7
Recompiled - NOT successful
Same project again - changed to OS Independent
Recompiled - Successful!
David
--
From David Troxell - Product Scope 7.8 - Encourager Software
Product Scope 7 Viewer - NO Registration Fee! Free to Use!
http://www.encouragersoftware.com/
Clarion Third Party Profile Exchange Online
http://encouragersoftware.com/profile/clarlinks.html
http://www.profileexchanges.com/blog/
Re: Paging Jane or alternative Armadillo - Setupbuilder Expert
David,
> Using the failed RUN program within install SB7 project - I copied as you
> requested - of course that RUN Program HAD the OS Independent condition
> checkboxed.
>
> Recompiled - successful!
>
> OK, working with SAME project - Conditions - W2K - W7
>
> Recompiled - NOT successful
>
> Same project again - changed to OS Independent
>
> Recompiled - Successful!
I can't reproduce this here :-( If you change the Conditions in my
previously posted "RunTest.sb7" to W2K - W7, does this also not work?
Friedrich
1 Attachment(s)
Re: Paging Jane or alternative Armadillo - Setupbuilder Expert
> David,
>
>> OK, I changed the conditions in your RunTest - it displays same results.
>>
>> This might be the difference though.
>>
>> OK, even though the install ITSELF is Run as Administrator - that alone is
>> not enough to make Armadillo write to the registry first time so that key
>> registration is accepted.
>>
>> The psverify.exe or Armadillo STUB EXE must be Vista - Windows 7
>> manifested as RequireAdministrator.
>
> This was just to test if the external application is executed or not.
>
> If the installer is running elevated and you start psverify.exe, then the
> elevated privileges are carried over to that application. Only if you have
> "Launch non-elevated under UAC" enabled, the app is started in the context
> of the "original" Standard User. So if the installer runs elevated and
> executes an external program, that program does not have any registry write
> access restrictions.
Friedrich,
Of course, you're the expert in this area, and you're right - the elevated
privileges carry over and what I did is not needed (STUB exe manifested as
RequireAdministrator). Just retested, and found that to be true.
However, the OS independent (OS conditions TAB) for the STUB EXE (Run
program from within install) is the only factor that remains consistent -
use it, Armadillo is written to registry and accepts keys - do not use it,
and the Armadillo process fails.
>
> IMO, the only way to find out what is going on is to check the
> %_SB_ERRORCODE and %_SB_RETURNEX% values. I can't reproduce this issue in
> any of our test application nor did we receive any similar report. I took
> your original project and copied the "Run Program" line (Conditions - W2K -
> W7) over to the RunTest.sb7 project. It executed a "dummy" psverify.exe
> without any problem. I am lost -- no way to reproduce it nor is there any
> logical explanation :-(
I did a display box with your code:
I am back from psverify.exe
Error Code: %_SB_ERRORCODE%
FOR the failed SB project
and the screen shot shows no error.
As far as reproducing it, would you not have to have the exact same
conditions as mine - Armadillo protect a software program (they use the
term STUB EXE because it doesn't really do anything, and is usually there
for a silent (no interaction result),
install it with at least one other Armadillo protected progam, and then
register one key to test on a FRESH Install of Vista or Window 7 64 so no
other software programs influenced the Armadillo process.
David
--
From David Troxell - Product Scope 7.8 - Encourager Software
Product Scope 7 Viewer - NO Registration Fee! Free to Use!
http://www.encouragersoftware.com/
Clarion Third Party Profile Exchange Online
http://encouragersoftware.com/profile/clarlinks.html
http://www.profileexchanges.com/blog/
Re: Paging Jane or alternative Armadillo - Setupbuilder Expert
David,
> However, the OS independent (OS conditions TAB) for the STUB EXE (Run
> program from within install) is the only factor that remains consistent -
> use it, Armadillo is written to registry and accepts keys - do not use it,
> and the Armadillo process fails.
Would it be possible to add a simple debug message to the STUB EXE that
displays a "Hello, I am the STUB EXE" to see if it is really not executed in
this project.
BTW, and please check for both %_SB_ERRORCODE and %_SB_RETURNEX%
Friedrich
Re: Paging Jane or alternative Armadillo - Setupbuilder Expert
> David,
>
>> However, the OS independent (OS conditions TAB) for the STUB EXE (Run
>> program from within install) is the only factor that remains consistent -
>> use it, Armadillo is written to registry and accepts keys - do not use it,
>> and the Armadillo process fails.
>
> Would it be possible to add a simple debug message to the STUB EXE that
> displays a "Hello, I am the STUB EXE" to see if it is really not executed in
> this project.
>
> BTW, and please check for both %_SB_ERRORCODE and %_SB_RETURNEX%
Friedrich,
Will do.
It might have to wait til tonight's overnight shift, though.
David
--
From David Troxell - Product Scope 7.8 - Encourager Software
Product Scope 7 Viewer - NO Registration Fee! Free to Use!
http://www.encouragersoftware.com/
Clarion Third Party Profile Exchange Online
http://encouragersoftware.com/profile/clarlinks.html
http://www.profileexchanges.com/blog/