|
#1
|
|||
|
|||
|
Pop Up Window "Restart Needed"
Hello,
I'm just puzzled with something. I am doing something in trueupdate which will detect our latest software version. I have save my true update file as Test.tu2 and then save it as UpdateTU2.tu2. I have configured everything in the project and build settings. I've even add some serverfiles and delete my local server on the list. Then I build it. It was running fine. Then I've tried to change my product name in the project setting. After doing so I rebuild it and even delete the client files also the server files in my server. And upload the new build server files. Then I've tried to run again my update.exe. It seems that on my first screen the changed product name was appearing and while checking for the latest update there's a window that pop ups saying "Restart Needed", then it says that it has to be restarted in order ri perform the update. Why is that so and after clicking the ok button, it returns me to my previous built update file, which has the previous product name I have. Can any one help me solve my problem. It is quite strange for me. I was really stock up with this. Please help. Thanks, Elleah |
|
#2
|
||||
|
||||
|
Hi Elleah,
TrueUpdate 2.0 will restart the update process for two reasons: 1) The version of the client executable is older then the version available on the server in the .ts3 file. 2) The data stored in the client data file (*.dat) does not match the dat file stored on the server in the .ts2 file. Your problem is probably being caused by a ts2 file that was not updated properly on your server. This would have occurred either during the build process or when you copied your files over to your server location. Try deleting all server files (.ts1, .ts2, .ts3, and .tsx) and rebuilding. After that your project should work properly.
__________________
MSI Factory The Next Generation Intelligent Setup Builder |
|
#3
|
|||
|
|||
|
Hi Mark,
After series of test I was able to eliminate the window. I've just save my server files to another name and upload it to the server. It seems that it is a cache problem only. One more thing I would like to ask, in the previous version in TU1 under the client configuration editor, we have a feature to use the user configuration in order to change proxy settings. I have browsed the help and documentation files to be able to do the same on my new update project in TU2 but unfortunately I wasn't able to find any way to do that. I want my TU2 project to work the same as my TU1 project. Upon my Welcome screen I have included a configure button where user can configure the proxy setting. Is it also possible in TU2? How can I able to do that? Thanks. |
|
#4
|
||||
|
||||
|
Hi Ellah,
I'm glad that you have solved the previous issue, I will make a note of the cache issue incase it happens again or incase it is possible for us to do anything about it. As far as the proxy issues are concerned, as I have said in previous posts with TrueUpdate 2.0 collecting and processing a users proxy information is generally not needed as TrueUpdate 2.0 should be able to acquire the proxy information automatically. But if you still want to collect your users proxy information manually this is possible. The best way to do it in TrueUpdate 2.0 is not with a "configure" button (which is still possible if you rename the Help button and then use a series of Dialog.Input() actions) but with a separate screen. Simply configure an Edit Fields screen to collect proxy information and then use that proxy information whenever you access the Internet via the HTTP or FTPWI actions. You will probably want to make displaying the Proxy screen optional via some radio buttons or a checkbox.
__________________
MSI Factory The Next Generation Intelligent Setup Builder |
|
#5
|
|||
|
|||
|
Pop Up Window "Restart Needed"
Hi Mark,
Thanks. I will try to incorporate it in my program. I will let you know the result then. Regards, Elleah |
|
#6
|
|||
|
|||
|
Pop Up Window "Restart Needed"
Hi Mark,
Via a Dialog.Input() I was able to prompt user for the proxy address and port, but I am wondering how I can collect the proxy information from my registry, so I can initialize the Default text in my Dialog.Input() as the one read in the registry. As I recall before you told me that I can get my Proxy setting via Software\Microsoft\Windows\CurrentVersion\Internet Settings. I am just wondering why I get an error why attempting to read value data from my registry, it gives me an error "COULD NOT GET SPECIFIED VALUE'S DATA". my script is as follow: Registry_Proxy = Registry.GetValue (HKEY_CURRENT_USER, "Software\Microsoft\Windows\CurrentVersion\Interne t Settings", "ProxyServer", false); Is the Registry.GetValue() action only applicable for reading my current application? I am having a hard time reading my PROXY SERVER setting. Is there any way I can collect those information, the actual address and port I am currently using. Please advise. Thanks, Elleah |
|
#7
|
||||
|
||||
|
Hi Elleah,
First I noticed that you were not escaping backslashes in your code, try the following at it should work: Code:
Registry_Proxy = Registry.GetValue(HKEY_CURRENT_USER, "Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings","ProxyServer", false); Code:
result = Registry.GetValue(HKEY_CURRENT_USER, "Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings","ProxyEnable", false);
__________________
MSI Factory The Next Generation Intelligent Setup Builder |
|
#8
|
|||
|
|||
|
Pop Up Window "Restart Needed"
Hi Mark,
Thanks, I'll try to incorporate it in my script. Will let you know the result. Regards, Elleah |
|
#9
|
|||
|
|||
|
Pop Up Window "Restart Needed"
Hi Mark,
I was able to get the value on my registry. Thanks for the help. Right now I am wondering how i can configure my registry, I am using the Registry.SetValue() action, just in case my user disabled the proxy setting. I am currently setting the Proxy enable to 1 when the user configure the proxy setting. I am wondering why it doesn't work at all, yes it sets the value of the registry to 1, but I guess it cannot connect to the server at all. Do you have any idea what was the reason behind. Thanks, Elleah |
|
#10
|
||||
|
||||
|
Hi Elleah,
Since these registry settings are Windows settings I don't really know the best way to set them, or how settings them affects the way Windows works. Take a look at this Microsoft article that describes how to configure the proxy settings using a .REG file. http://support.microsoft.com/default...b;en-us;819961 Now you will not have to use a .REG file since you can use TrueUpdate's built-in registry actions, but the article should provide enough information on what values you need to set.
__________________
MSI Factory The Next Generation Intelligent Setup Builder |
|
#11
|
|||
|
|||
|
Pop Up Window "Restart Needed"
Hi Mark,
I just want to check something. You've told me earlier that the TrueUpdate will only be restarted if my .ts2 and .ts3 is older than the one in the server. But currently I have uploaded new .ts2 and .ts3 in my server only the .ts1 because I made some change in my server script. I am just wondering why when I perform an update, it keeps on updating/restaring itself. The only thing I've change in my script is the latest version variable. I haven't delete my previously .ts1 server file on the server, I've only overwrite it. Would it cause any difference. What do you think is the cause of it? Becauseit is really strange, why it is happening. Thanks, Elleah |
|
#12
|
||||
|
||||
|
When you upload to you server, you must upload all of the files generated by the build process. You should not just upload one or two file, but all of them or something might be missing or out of sync.
__________________
Check out the new MSI Factory 2.0! |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| pop up window with calendar plug in? | patrick6 | AutoPlay Media Studio 5.0 | 1 | 05-17-2008 08:44 AM |
| Creating a Non-Rectangular Window | Desmond | AutoPlay Media Studio 5.0 Examples | 0 | 10-03-2003 01:40 PM |
| HOWTO: Get the Position and Size of a Window | Support | AutoPlay Media Studio 4.0 Examples | 0 | 09-27-2002 10:40 AM |
| How to open a web page in pop up window? | livio | AutoPlay Media Studio 4.0 | 11 | 09-16-2002 02:55 PM |
All times are GMT -6. The time now is 08:31 AM.






Linear Mode

