View Full Version : Vista manifest / Armadillo
NewsArchive
12-31-2006, 06:06 AM
There must be an easier way of doing this.
I find that if I wrap a program with Armadillo, then use SB6 to add a
manifest, the program crashes at runtime with an Armadillo Unpack Exception
message.
The sequence I seem to need to follow is:
1. Compile Clarion app
2. Create dummy SB6 installer. The purpose of this installer is just to
embed a manifest into my app.
3. Compile dummy installer Then run dummy installer to install app to a
temporary directory.
4. Use Armadillo to wrap the app that now has the manifest within it.
5. Sign the app
6. Create 'real' SB6 installer to install manifested/wrapped/signed app and
support files.
Friedrich, is there some way to script this? To run a batch file after the
manifest has been embedded so I can have that call Armadillo? Or if I pause
the setup script, is there a temp directory where I'd find my app after the
manifest has been inserted?
Jane
NewsArchive
12-31-2006, 06:06 AM
Never mind. I think from Mark Riffey's clarionmag article I can figure how
to add the manifest to the program at compile time.
Jane
NewsArchive
12-31-2006, 06:06 AM
> I think from Mark Riffey's clarionmag article I can figure how
> to add the manifest to the program at compile time.
Im famous, Im famous, woohoooo<bg>
--
Mark
NewsArchive
12-31-2006, 06:07 AM
And sitting in front of the PC on Saturday. wooohooo!
Oops. I guess that's me, too<g>
Jeff Slarve
NewsArchive
12-31-2006, 06:07 AM
> And sitting in front of the PC on Saturday. wooohooo!
>
> Oops. I guess that's me, too<g>
Aye:)
--
Mark
NewsArchive
12-31-2006, 06:07 AM
> And sitting in front of the PC on Saturday. wooohooo!
>
> Oops. I guess that's me, too<g>
Fortunately - SOME Clarion programmers have a life!
(I just don't know any<g>)
;-)
Charles
--
-------------------------------------------------------------------------------------------------------
Charles Edmonds
www.clarionproseries.com - "Serious imaging tools for Clarion Developers"
www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
and Forms!"
www.lansrad.com - "Intelligent Solutions for Universal Problems"
www.fotokiss.com - "World's Best Auction Photo Editor"
-------------------------------------------------------------------------------------------------------
NewsArchive
12-31-2006, 06:08 AM
Life?
Jane Fleming
NewsArchive
12-31-2006, 06:08 AM
Where do you download the upgrade?
--
Russ Eggen
www.radfusion.com
IRC Info: www.radfusion.com/irc.htm
Freebies: www.radfusion.com/downloads.htm
NewsArchive
12-31-2006, 06:08 AM
> Where do you download the upgrade?
LOL - beats me!
I think the link is broken<g>
;-)
Charles
--
-------------------------------------------------------------------------------------------------------
Charles Edmonds
www.clarionproseries.com - "Serious imaging tools for Clarion Developers"
www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
and Forms!"
www.lansrad.com - "Intelligent Solutions for Universal Problems"
www.fotokiss.com - "World's Best Auction Photo Editor"
-------------------------------------------------------------------------------------------------------
NewsArchive
12-31-2006, 06:08 AM
Not only famous, but informative as well :)
Jane Fleming
NewsArchive
12-31-2006, 06:08 AM
> Not only famous, but informative as well :)
<blush><g>
--
Mark
NewsArchive
12-31-2006, 06:09 AM
Hi Jane,
Thanks for the update.
BTW, there is no need to create a dummy installer. If the "Permanent"
option is not used, the compiler will embed the Vista manifest to your
original application executable. Of course, the compiler will restore the
original application executable at the end of compilation process. If
"Permanent" is used, this last step is skipped.
So you can call Armadillo directly after the embed manifest command and use
it on your original file.
Or does exactly this fail?
Thanks,
Friedrich
--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910
"point. click. ship" - that's SetupBuilder 6
Create Windows Vista ready installations in minutes
NewsArchive
12-31-2006, 06:09 AM
> There must be an easier way of doing this.
>
> I find that if I wrap a program with Armadillo, then use SB6 to add a
> manifest, the program crashes at runtime with an Armadillo Unpack Exception
> message.
>
> The sequence I seem to need to follow is:
>
> 1. Compile Clarion app
> 2. Create dummy SB6 installer. The purpose of this installer is just to
> embed a manifest into my app.
> 3. Compile dummy installer Then run dummy installer to install app to a
> temporary directory.
> 4. Use Armadillo to wrap the app that now has the manifest within it.
> 5. Sign the app
> 6. Create 'real' SB6 installer to install manifested/wrapped/signed app and
> support files.
>
> Friedrich, is there some way to script this? To run a batch file after the
> manifest has been embedded so I can have that call Armadillo? Or if I pause
> the setup script, is there a temp directory where I'd find my app after the
> manifest has been inserted?
Jane,
Friedrich and I have been working on things like this for some time and of
course the new Vista manifest is just one more monkey wrench in the
process<g>.
But since RegKISS is interactive with both Armadillo and SB6, it should not
be a problem since RegKISS would be applying the wrapper during the SB6
build process.
;-)
Charles
--
-------------------------------------------------------------------------------------------------------
Charles Edmonds
www.clarionproseries.com - "Serious imaging tools for Clarion Developers"
www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
and Forms!"
www.lansrad.com - "Intelligent Solutions for Universal Problems"
www.fotokiss.com - "World's Best Auction Photo Editor"
-------------------------------------------------------------------------------------------------------
NewsArchive
12-31-2006, 06:09 AM
Charles,
I almost put the phrase "without buying an additional product from Charles"
in my first post... but decided for once to be a good girl <VBG>
Jane Fleming
NewsArchive
12-31-2006, 06:10 AM
> I almost put the phrase "without buying an additional product from Charles"
> in my first post... but decided for once to be a good girl <VBG>
I know that was difficult for you<vbg>.
;-)
Charles
--
-------------------------------------------------------------------------------------------------------
Charles Edmonds
www.clarionproseries.com - "Serious imaging tools for Clarion Developers"
www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
and Forms!"
www.lansrad.com - "Intelligent Solutions for Universal Problems"
www.fotokiss.com - "World's Best Auction Photo Editor"
-------------------------------------------------------------------------------------------------------
NewsArchive
12-31-2006, 06:10 AM
> I almost put the phrase "without buying an additional product from Charles"
> in my first post...
ROFL
--
Mark
NewsArchive
12-31-2006, 11:42 AM
Friedrich,
That works! I had noted your prior comments on the 'permanent' box and was
leaving it unchecked, but didn't realize the implications. (The
documentation says "Mark this checkbox to process the function after script
compilation"... whatever that means...)
However, I think it's easier and more automatic to add the new section to
the manifest example Mark Riffey showed in clarionmag and just have it
compiled in as the app is built. Then wrap with Armadillo, sign, test, and
then build the installer.
Jane
NewsArchive
12-31-2006, 11:42 AM
Jane,
> That works! I had noted your prior comments on the 'permanent' box and
> was leaving it unchecked, but didn't realize the implications. (The
> documentation says "Mark this checkbox to process the function after
> script compilation"... whatever that means...)
Yes, I forgot to change the text :-( I copied and pasted it from another
section. It will be fixed in the next build.
> However, I think it's easier and more automatic to add the new section to
> the manifest example Mark Riffey showed in clarionmag and just have it
> compiled in as the app is built. Then wrap with Armadillo, sign, test,
> and then build the installer.
Just make sure you are using a valid Vista manifest, not a XP one. And make
sure it has the latest format (not a format that causes blue-screens on some
XP machines).
Happy New Year!
Friedrich
--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910
"point. click. ship" - that's SetupBuilder 6
Create Windows Vista ready installations in minutes
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.