Cancel Update puts 'Bad Request' text into update.aiu file - Advanced Installer Community
kur8rc
Posts: 6
Joined: Wed Jul 17, 2013 10:49 pm

Cancel Update puts 'Bad Request' text into update.aiu file

If I 'Cancel' an update and then go back to check for an update again later it gives the 'Invalid or missing updates configuration' file error. There is no more updating once this happens.

I have figured out what is happening but not why it's happening. Here are all the steps to reproduce.
1) The download folder set up in the 'Files and Folders' section of the installation (which I have in the 'Program Files\Common' folder) is empty.
2) I check for updates.
3) A copy of the updates.txt file on the server is saved in the download folder as 'updates.aiu'.
4) A dialog box prompts me with the available update.
5) I click 'Cancel'. (I checked the 'updates.aiu' file in the download folder after clicking 'Cancel' and it is still the same text as 'Updates.txt' is on the server)
6) I check for updates again.
7) It gives the 'Invalid or missing updates configuration' file error.
8) I look at the 'updates.aiu' file in the download folder and now it only has 2 words in the file: 'Bad Request'.
9) I re-attempt to update a few times just to see what happens but continue to get the same error message.
10) I delete the 'updates.aiu' file in the download folder.
11) I check for updates again.
12) A new 'updates.aiu file is placed in the download folder.
13) The update dialog box displays and an update will be allowed now. However, if I choose 'Cancel' the updates.aiu file gets updated with 'Bad Request' and the error message continues unless the file is deleted.

I have AI 10.3 and Windows 7.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Cancel Update puts 'Bad Request' text into update.aiu fi

Hi and welcome to Advanced Installer forums.

I've tested your scenario, but I cannot reproduce the behavior. The problem might be caused by your server. Can you verify its settings or place the file on another server and see if the behavior persists?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
kur8rc
Posts: 6
Joined: Wed Jul 17, 2013 10:49 pm

Re: Cancel Update puts 'Bad Request' text into update.aiu fi

I resolved the issue but I am not certain what specifically caused the 'Bad Request' message.

I unchecked the 'Override Windows Installer programs list entry' option in the 'Product Details' section. My guess is that I had a setting within that section wrong. I did not need it checked and not sure why I had it checked in the first place. Anyway, the 'aiu' update file in my update folder is now keeping its contents and not changing to 'Bad Request' when the 'Cancel' button is clicked during an update.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Cancel Update puts 'Bad Request' text into update.aiu fi

Hi,

I'm not sure why you encountered this behavior. I tried your scenario with the "Override Windows Installer programs list entry" option also checked, but I still couldn't reproduce the behavior. However, I'm glad you got this working.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
kur8rc
Posts: 6
Joined: Wed Jul 17, 2013 10:49 pm

Re: Cancel Update puts 'Bad Request' text into update.aiu fi

After reading about your attempt to duplicate it I went back and enabled that setting again in both my full installer and update installer and ran through a complete test cycle but this time the aiu file in my update folder did not lose its data and give the 'Bad Request' verbiage when I canceled the update.

Maybe I fixed something 'minor' along the way without making a mental note about it or something that day was unusual about the state of my system; I don't know. The last thing I tried doing the next day before the error went away was unchecking that setting so I associated that with the fix. The association may have been wrong unless maybe at the time I had a setting within that setting causing it which I lost when I cleared the check box. My system also had been turned off the night before so maybe rebooting cleared the problem.

Nevertheless it's fixed and I'm unable to duplicate it. I appreciate your attempt to help me solve it.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Cancel Update puts 'Bad Request' text into update.aiu fi

Hi,

I'm also grateful for testing your project again and trying to find the cause of the problem and sharing with us your results, however it is good it works now.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”