I am currently using your web based patch/update scenario and it is working great. Application checks for updates and leads user through the steps to install, all is well.
The problem is that i need to write some registry values during the update process to flag completion times etc but none are baing written. I know they have to be called before Apply Install but that is not called anywhere in the update script.
I also don't know how to debug a patch to even test it. Or is this possible?
I have attached a screenshot. I reach the messagebox no pronlem but the registry write never occurs.
Thanks!!
File Attached:
reg.jpg
Write To Registry during update
-
- Posts: 32
- Joined: Tue Mar 10, 2009 12:10 pm
I figured it out. In the main script there is compiler code
[compiler if Variable BUILDMODE Equals PATCH]
Apply Patch (get result into variable SUCCESS)
[compiler else]
I set a few variables in the update script and read them just before the Apply Patch and all gets written to the registry as normal.
Hope this can help someone else
[compiler if Variable BUILDMODE Equals PATCH]
Apply Patch (get result into variable SUCCESS)
[compiler else]
I set a few variables in the update script and read them just before the Apply Patch and all gets written to the registry as normal.
Hope this can help someone else
-
- Posts: 32
- Joined: Tue Mar 10, 2009 12:10 pm
-
- Posts: 32
- Joined: Tue Mar 10, 2009 12:10 pm
Who is online
Users browsing this forum: No registered users and 54 guests