Indigo Rose Software
  #1  
Old 2 Weeks Ago
adrien adrien is offline
Indigo Rose Customer
 
Join Date: Nov 2007
Posts: 31
64bit suggestions

Having had recently to update our installers to handle 64bit versions of the OSes, it would be great if SetupFactory could

a) list the 64-bit variants of OSes in the properties of a file (under Conditions:Operating systems) so we can say install this file for 64 bit but not 32 bit.

b) generate a 64bit installer exe (so that File System redirection and registry redirection don't come into play)

c) support launching an application with elevated privileges (not sure if this is possible, or whether the exe must just be manifested to require admin).

Cheers

Adrien
Reply With Quote
  #2  
Old 2 Weeks Ago
jassing's Avatar
jassing jassing is offline
Indigo Rose Customer
 
Join Date: Jan 2001
Location: Anderson Island, WA, USA
Posts: 1,901
Not meant as a "solution" but viable options. I don't think you're going to get these anytime soon -- just my gut feeling...

Quote:
Originally Posted by adrien View Post
a) list the 64-bit variants of OSes in the properties of a file (under Conditions:Operating systems) so we can say install this file for 64 bit but not 32 bit.
You can easily set a runtime condition as to if it should install or not. Which is basically what the OS Checkboxes are -- but you'd just do it in code...

Quote:
Originally Posted by adrien View Post
b) generate a 64bit installer exe (so that File System redirection and registry redirection don't come into play)
Since 32bit apps run on 64bit, I don't see this happening; but it might...

You can turn on/off the redirects for FILES easily with a simple API call.
Registry is a bit more complex -- I posted a registry64.lua (Registry64 object) to replace the built in registry object; it's almost a "drop in" replacement. It's slow if you do lots of registry I/O (ie: read the entire HKLM fork)

On my installers, all "64bit system" files go to a temp folder. From there, in post install, I disable re-direct, and then copy them to the _SystemFolder; then re-enable redirects.

A strategy, since you want "x64 binary installer" is to "on startup" just test "is this x64?" if not, alert & abort install. Now, just disable file-redirects for the duration of the installer.

You'll still have issues with the Registry -- but you can easily work around that too.

Quote:
Originally Posted by adrien View Post
c) support launching an application with elevated privileges (not sure if this is possible, or whether the exe must just be manifested to require admin).
If the installer is properly elevated, then anything it launches should also be elevated. The best way to do this is with a manifest.

You can also use "RunAs" (either command line or File.RunAs())

-josh
__________________
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -6. The time now is 08:39 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software