Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Thu Jun 22, 2017 5:17 pm
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: No Program Files (x86) folder on Windows 7
PostPosted: Thu Apr 11, 2013 3:05 pm 
Offline

Joined: Fri Dec 09, 2005 6:25 pm
Posts: 357
Typically my app gets installed into the Program Files (x86) folder on Windows 7. I have a user, however, that says she does not have this folder and the app gets installed in Program Files and it will not launch. Is there something I can tell her to do? She's running Windows 7 Ultimate Service Pack 1. It is supposed to write the registration into a folder in ProgramData. Maybe that's the problem? I haven't had any issues with anyone before. I guess they all must have the (x86) folder.


Top
 Profile  
Reply with quote  
 Post subject: Re: No Program Files (x86) folder on Windows 7
PostPosted: Thu Apr 11, 2013 3:28 pm 
Offline

Joined: Mon May 30, 2011 12:56 am
Posts: 702
She is running the 32bit version. It doesn't get an x86 version.
Program Files is not writable for your registration data.
Save it to the registry, or to an ini file in SpecialFolder.ApplicationData (not ProgramData)


Top
 Profile  
Reply with quote  
 Post subject: Re: No Program Files (x86) folder on Windows 7
PostPosted: Thu Apr 11, 2013 3:34 pm 
Offline

Joined: Fri Dec 09, 2005 6:25 pm
Posts: 357
Okay, thanks. I'll give that a try.


Top
 Profile  
Reply with quote  
 Post subject: Re: No Program Files (x86) folder on Windows 7
PostPosted: Thu Apr 11, 2013 8:14 pm 
Offline

Joined: Fri Dec 09, 2005 6:25 pm
Posts: 357
That worked. Thanks! Now I think I need to figure out how to decide if the user has it installed in the (x86) folder or not. I guess I can test to see if it exists and if not send it to ApplicationData instead of SharedApplicationData which seems to work better for multiple users on one machine.


Top
 Profile  
Reply with quote  
 Post subject: Re: No Program Files (x86) folder on Windows 7
PostPosted: Fri Apr 12, 2013 1:05 am 
Offline

Joined: Mon May 31, 2010 5:35 am
Posts: 2412
Location: Netherlands
Specialfolder.Applications

will give you a folderitem with Program Files or Program Files(x86) name
You can't write to it, but you might be able to know the folder name and system type.

If it has (x86) in it, then it would be a 64-bit system otherwise it will be 32-bit.

_________________
SWORT™
- Windows Vista, Windows XP, Windows 7, Linux Mint 11 and Mac OSX Lion
- REAL Studio Enterprise(latest) and WEB Edition(latest)
- Plugins (MBS Complete, ToringoLib, Einhugur, VanHoek + Some open source plugins)
For Dutch User Groups ask me to enter!


Top
 Profile  
Reply with quote  
 Post subject: Re: No Program Files (x86) folder on Windows 7
PostPosted: Fri Apr 12, 2013 7:25 am 
Offline

Joined: Fri Dec 09, 2005 6:25 pm
Posts: 357
Great, I'll start with that. Thanks!


Top
 Profile  
Reply with quote  
 Post subject: Re: No Program Files (x86) folder on Windows 7
PostPosted: Fri Apr 12, 2013 9:12 am 
Offline

Joined: Mon Aug 14, 2006 9:33 pm
Posts: 1774
I would recommend using Inno Setup or Advanced Installer to install your software rather than doing it yourself. Those programs (I have used Inno) handle those sort of details for you and make life much easier.

_________________
Roger Clary
Class One Software
Educational Software for Lifelong Learning
http://www.classonesoftware.com


Top
 Profile  
Reply with quote  
 Post subject: Re: No Program Files (x86) folder on Windows 7
PostPosted: Fri Apr 12, 2013 9:25 am 
Offline

Joined: Fri Dec 09, 2005 6:25 pm
Posts: 357
Yes, i do currently use Inno Setup.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group