Hi, my NEEDSUPGRADE seems to be always false. How does this get set? Is it because NATIVE ENGINE is TRUE?
Hmm, I just checked this on a completely new project and it works right and NEEDSUPGRADE gets set even with NATIVE_ENGINE TRUE. What causes this, what can I check for in my existing project?
NEEDSUPGRADE always false?
Re: NEEDSUPGRADE always false?
I think I just broke my test project. It works for a while but then it starts to not work and NEEDSUPGRADE is always FALSE.
Re: NEEDSUPGRADE always false?
It does seem that a NATIVE_ENGINE installation does not get registered so that NEEDSUPDATE can detect it. Here is my repeatable process:
InstallAware Studio X2
1. New Project -> QuickStart
2. For Application Files, pick a dummy folder with a test file
3. Check Build my setup now
4. Create a Web build by clicking Web Deploy
5. Run the Web build, skip Running the program
6. Hit Web Deploy again to make a new build
7. Previous Version Uninstallation will be triggered
8. Go through it
9. Hit Web Deploy again to make a new build
10. Again Previous Version Uninstallation will be triggered
11. Now add "Set Variable NATIVE_ENGINE to TRUE"
12. Hit Web Deploy again to make a new build
13. Again Previous Version Uninstallation is triggered
14. Hit Web Deploy again to make a new build
15. THIS TIME PREVIOUS VERSION UNINSTALLATION IS NOT TRIGGERED!
InstallAware Studio X2
1. New Project -> QuickStart
2. For Application Files, pick a dummy folder with a test file
3. Check Build my setup now
4. Create a Web build by clicking Web Deploy
5. Run the Web build, skip Running the program
6. Hit Web Deploy again to make a new build
7. Previous Version Uninstallation will be triggered
8. Go through it
9. Hit Web Deploy again to make a new build
10. Again Previous Version Uninstallation will be triggered
11. Now add "Set Variable NATIVE_ENGINE to TRUE"
12. Hit Web Deploy again to make a new build
13. Again Previous Version Uninstallation is triggered
14. Hit Web Deploy again to make a new build
15. THIS TIME PREVIOUS VERSION UNINSTALLATION IS NOT TRIGGERED!
Re: NEEDSUPGRADE always false?
16. Set NATIVE_ENGINE to false, hit Web Deploy and run
17. Previous Version Uninstallation is NOT triggered
18. Hit Web Deploy again to make a new build
19. Now Previous Version Uninstallation is triggered again
So the installed program has to be non-NATIVE_ENGINE built in order for the current installer to detect it as having been installed. Maybe that makes sense if NATIVE_ENGINE means not MSI-based or registered... HELP!
17. Previous Version Uninstallation is NOT triggered
18. Hit Web Deploy again to make a new build
19. Now Previous Version Uninstallation is triggered again
So the installed program has to be non-NATIVE_ENGINE built in order for the current installer to detect it as having been installed. Maybe that makes sense if NATIVE_ENGINE means not MSI-based or registered... HELP!
Re: NEEDSUPGRADE always false?
Quick Start - use the Native Setup template
1. Quck Start - select the Native Setup template
2. Hit Web Deploy and run installer
3. Hit Web Deploy and run installer
4. Previous version removal is triggered
This technique above works, maybe because NATIVE_ENGINE is not TRUE everywhere.
1. Quck Start - select the Native Setup template
2. Hit Web Deploy and run installer
3. Hit Web Deploy and run installer
4. Previous version removal is triggered
This technique above works, maybe because NATIVE_ENGINE is not TRUE everywhere.
Re: NEEDSUPGRADE always false?
Aha, I see now there is "RECOMMENDEDUPGRADE" for Native engine.
Re: NEEDSUPGRADE always false?
This is great, except for one OFFLINE file that seems to be hanging on, the old installation is getting removed. But how can I get rid of all previous installations that did not get removed from ProgramData?
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: NEEDSUPGRADE always false?
Dear Tofutim,
in fact! with Native Engine RECOMMENDEDUPGRADE has to be used.
For what concerns your question about ProgramData files, I have already replied to the other topic you started.
http://www.installaware.com/forum/viewtopic.php?f=2&t=10443&start=0
Regards
in fact! with Native Engine RECOMMENDEDUPGRADE has to be used.
For what concerns your question about ProgramData files, I have already replied to the other topic you started.
http://www.installaware.com/forum/viewtopic.php?f=2&t=10443&start=0
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Who is online
Users browsing this forum: No registered users and 158 guests