Page 1 of 1

Visual Update Express Bug??

Posted: 04 May 2018, 04:56
by OldNESJunkie
Maybe it's something I'm doing again, but when the application updates, the files that are supposed to be in a sub-directory are created in the main directory with the sub-directory name appended to the front of the filename.

For Example

C:\Carlex\Carlex-apps
|->Carlex-Apps.exe
C:\Carlex\Carlex-Apps\DB
|->weblinks.txt

After running the updater, the main exe is copied over correctly, but the file in the subdirectory remains unchanged and the new file look like so:

C:\Carlex\Carlex-Apps
|->Carlex-Apps.exe
|->DBweblinks.txt

I don't see any difference from the old update file in that regard, but here is what the update script looks like:

releases{
1.0
1.51p
1.51q
1.51r
1.51s
1.51t
1.51u
1.51v
1.51w
1.51x
1.51y
1.51z
1.52
1.52a
1.52b
1.52c
}
release:1.0{
}
release:1.51p{
}
release:1.51q{
}
release:1.51r{
}
release:1.51s{
}
release:1.51t{
}
release:1.51u{
}
release:1.51v{
}
release:1.51w{
}
release:1.51x{
}
release:1.51y{
}
release:1.51z{
}
release:1.52{
}
release:1.52a{
}
release:1.52b{
}
release:1.52c{
DownloadFile:Carlex-Apps.exe,
DownloadFile:CleanProfiles.exe,
DownloadFile:GetSoftware.exe,
DownloadFile:Mailer.exe,
DownloadFile:ProcessLister.exe,
DownloadFile:RebootPC.exe,
DownloadFile:VNCRemoteControl.exe,
DownloadFile:Applications.txt,DB
DownloadFile:servers.xml,DB
DownloadFile:SharePointLinks.txt,DB
DownloadFile:switches.xml,DB
DownloadFile:Systems.txt,DB
DownloadFile:Telecom.txt,DB
DownloadFile:TelecomLinks.txt,DB
DownloadFile:WebLinks.txt,DB
}

Incorrect syntax in the update ini file maybe????

Re: Visual Update Express Bug??

Posted: 04 May 2018, 11:09
by Soner
Hello,

you will have to add a blackslash to your path definition, e.g. DownloadFile:WebLinks.txt,DB\

I have noticed that the Visual Update Express Manual is missing this information. We will update the manual soon.

Re: Visual Update Express Bug??

Posted: 04 May 2018, 19:27
by OldNESJunkie
Soner wrote: 04 May 2018, 11:09 Hello,

you will have to add a blackslash to your path definition, e.g. DownloadFile:WebLinks.txt,DB\

I have noticed that the Visual Update Express Manual is missing this information. We will update the manual soon.
OK, it works, forgot to restart my IIS instance after changing the update script..... :oops: