cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Su2uk1
Level 2

Updater doesn’t work after cancel at the first run.

My updater does not work when I operate it as follows.
(Actually, the words are Japanese.)

1) Execute my update.exe.
The welcome page appears.
2) Click the cancel button.
The message box that says “Do you cancel setup?” appears.
3) Click the Yes button.
The finish page appears.
4) Click the finish button.
5) Execute my update.exe again.
6) Click the next button on the welcome page.
The progress bar appears.
And the finish page that says “xxx was updated to version yyy” appears.

The problem is that the files are not updated after 6).
If I do not cancel update at 2) , the files are update.

I made the installShield project with the project assistant.

After that, I tried the following edition.

function OnMoveData()
………………..
// I added the following one line.
FeatureStandardSetupTypeSet( MEDIA, COMPLETE );

nResult = FeatureTransferData( MEDIA );
………………..
end;

The updater works correctly. But the uninstall does not work.

Could you tell me how to fix this problem?
Labels (1)
0 Kudos
1 Reply
Su2uk1
Level 2

As as follows:

function OnUpdateUIBefore()
......................
begin

......................

Dlg_SdFeatureTree:
// add the following line.
FeatureSelectItem( MEDIA, "DefaultFeature", TRUE );

Dlg_ObjDialogs:
......................
0 Kudos