at the beginning of my install script I have a 'Get System Setting Windows Vista into...' check because our application only works on Vista or newer.
On some Windows 7 machines this check fails.
Any idea why?
Thomas
Get System Setting Windows Vista fails
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Get System Setting Windows Vista fails
Dear Thomas,
honestly, it's very very strange that "Get System Setting Windows ...." fails to get target OS capabilities. I never had a similar issue.
It must be something else at the root of your issue.
You may try to create a dummy project from scratch and where just a "Get System Setting Windows ...." call is present.
Then you may verify if you are still able to replicate the same issue running the dummy setup.exe.
Regards
honestly, it's very very strange that "Get System Setting Windows ...." fails to get target OS capabilities. I never had a similar issue.
It must be something else at the root of your issue.
You may try to create a dummy project from scratch and where just a "Get System Setting Windows ...." call is present.
Then you may verify if you are still able to replicate the same issue running the dummy setup.exe.
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: Get System Setting Windows Vista fails
ok I'll do that.
This only happens on maybe 5 out of 1000 systems but is still annoying.
I will let you know the results.
Thomas
This only happens on maybe 5 out of 1000 systems but is still annoying.
I will let you know the results.
Thomas
Re: Get System Setting Windows Vista fails
Everything works fine on a client machine where the problem occurs with a test setup that checks for Windows Vista.
I have noted that the problem only occurs when we start the setup from within our application. If we start it from a folder it works fine.
We normally check for a new version on a ftp server, download a zip file, extract the setup program and start it. But this should make no difference in checking for Windows Vista imho.
Thomas
I have noted that the problem only occurs when we start the setup from within our application. If we start it from a folder it works fine.
We normally check for a new version on a ftp server, download a zip file, extract the setup program and start it. But this should make no difference in checking for Windows Vista imho.
Thomas
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Get System Setting Windows Vista fails
Dear Thomas,
the source of the issue cannot be the fact that you are executing the setup from from your application.
Eventually and because you are running your setup as from command line, it may be possible, that your setup script does something different when executed from command line.
Regards
the source of the issue cannot be the fact that you are executing the setup from from your application.
Eventually and because you are running your setup as from command line, it may be possible, that your setup script does something different when executed from command line.
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: Get System Setting Windows Vista fails
Hi Francesco,
I have done some more testing on a client machine where the problem occurs.
In the script I read the OS and SP level. The OS Level shows as Windows XP, see screenshot below.
Here are the first few lines of the install script where the problem occurs:
I ran WINVER and this definitely gave me Win7, SP1.
When I start the installation from the commandline it correctly reports Win7. I have now changed the script so the user can still continue, but it's only a temporary solution.
Any ideas?
Thomas
I have done some more testing on a client machine where the problem occurs.
In the script I read the OS and SP level. The OS Level shows as Windows XP, see screenshot below.
Here are the first few lines of the install script where the problem occurs:
I ran WINVER and this definitely gave me Win7, SP1.
When I start the installation from the commandline it correctly reports Win7. I have now changed the script so the user can still continue, but it's only a temporary solution.
Any ideas?
Thomas
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Get System Setting Windows Vista fails
Dear Thomas,
very strange indeed!
Which IA version are you using?
How do you execute your setup from your application?
Regards
very strange indeed!
Which IA version are you using?
How do you execute your setup from your application?
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: Get System Setting Windows Vista fails
I'm using InstallAware Studio Admin X5, build 8.4.2016
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Get System Setting Windows Vista fails
Dear Thomas,
you missed to reply my second question...
- How do you execute your setup from your application?
Regards
you missed to reply my second question...
- How do you execute your setup from your application?
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: Get System Setting Windows Vista fails
sorry about that.
I'm using the ShellExcecuteEx and pass a ShellExecuteInfo parameter.
In ShellExecuteInfo I have set:
lpFile = Setuppath\setupname
lpParameters = any parameters, for example a switch to run a silent install. On the client where I tested no parameters where passed
lpVerb = 'runas'
nShow = SW_SHOW
Thomas
I'm using the ShellExcecuteEx and pass a ShellExecuteInfo parameter.
In ShellExecuteInfo I have set:
lpFile = Setuppath\setupname
lpParameters = any parameters, for example a switch to run a silent install. On the client where I tested no parameters where passed
lpVerb = 'runas'
nShow = SW_SHOW
Thomas
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Get System Setting Windows Vista fails
Dear Thomas,
how is it resolved the " Setuppath\setupname" lpFile parameter?
As first I suggest you to update your X5 product to the latest version currently available.
*Please follow the notes available with the following link.
https://www.installaware.com/forums/viewtopic.php?f=2&t=10831
Regards
how is it resolved the " Setuppath\setupname" lpFile parameter?
As first I suggest you to update your X5 product to the latest version currently available.
*Please follow the notes available with the following link.
https://www.installaware.com/forums/viewtopic.php?f=2&t=10831
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: Get System Setting Windows Vista fails
Setuppath is a tempfolder, normally the users tempfolder which we get using IO.Path.GetTempPath.
Setupname is the name of our setup, which is downloaded from out ftp server, SetupNavigatorXXX.exe where XXX is the current version.
Thomas
Setupname is the name of our setup, which is downloaded from out ftp server, SetupNavigatorXXX.exe where XXX is the current version.
Thomas
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Get System Setting Windows Vista fails
Dear Thomas,
did you have any chance to run a test using the latest X5 update?
Regards
did you have any chance to run a test using the latest X5 update?
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: Get System Setting Windows Vista fails
not yet, the client where the problem occurs seems to have a few days off.
I will let you know as soon as I have some new results.
Thomas
I will let you know as soon as I have some new results.
Thomas
Re: Get System Setting Windows Vista fails
Since installing the latest realease of InstallAware I did not hear anything from my clients about the same error coming up again. The issue seems to be resolved.
Thomas
Thomas
Who is online
Users browsing this forum: No registered users and 188 guests