Installshield Project upgrade product name , registry, install directory - installshield

I am using Installshield 2014. I want to upgrade and rename my project name, registry, installation directory. I have updated these all information and generated single Image setup file. but my installer is not upgrading successfully.
I am getting error as "Error 1316 : can't read files from temp folder".
Error desc :
My older installer product name is x.msi
new installer product name is y.msi
but when i am upgrading x.msi to y.msi it is searching x.msi in c:\users\AppData\local\Temp\2{xxxxxxx}\x.msi.
I have verified in above location y.msi file is available but installer is trying to read older x.msi file only.
please help me to resolve this issu.

When you change the name of your .msi file and create a minor upgrade, you may encounter a 1316 error. Either rename y.msi such that it matches x.msi, or create a major upgrade instead of a minor upgrade.

Related

Kentico | Upgrade tool fails to find website sln file

I am having difficulty using the upgrade tool for my website which is version 7.0.5354.21135 in my attempts to upgrade to version 10.
I ran the Kentico Upgrade\CodeUpgrade100\Tool>CodeUpgrade.exe file on my sln project file but it returned the following error 'Solution file not found'. I have changed the file structure of my project and the name and location of the CMS folder which might be the cause? (I directed cmd prompt to new file name/location i.e. not the inetpub/wwwroot folder)
I also tried to reinstall Kentico 7 and its 7.0.53 Hotfix in an attempt to upgrade a fresh install but my installation failed.
I am trying to upgrade my local development site from 7.0.5354.21135 up to 10 to test if any issues would result in such an upgrade (plan to do so in near future with live site).
UPDATE:
I moved files back to original inetpub folder and renamed sln project to 'WebProject.sln' but am still seeing the following error:
This is a newly created sln project file from original site files in VS13. Do I have to alter something else to get this new sln project file to work?
Thx
For v7 if you made changes to your solution as a whole meaning, moving your .sln file outside of the root of the website, you will need to modify your solution to place it back in there. Also make sure your .sln file is either named "WebProject.sln" or "WebApp.sln"
Solution was to download a fresh version7 install, copy across my local dev site files, open in VS and resave WebProject.sln or equivalent project. Then I built project and refactored through various redundant member objects removed from version 8

Installshield LE is not updating the files while attempting upgrade

I've spent literally the last 5 hours around this, and can't get it to work.
I've done everything it's said in similar questions.
Change the ProductCode, keep the old UpgradeCode, Change product version.
Again and again. It doesn't replace the updated .exe file it's supposed to.
What am I missing?
Edit: I also have doublechecked the .exe build in visual studio, there it's builded and working properly. Only when I run the setup that's supposed to copy it to install folder, and only then it fails, keeping the old .exe file there, and not updating.
Does the exe on the target system have the same or higher file version than the exe you are installing? Windows installer will not overwrite a file that has a higher file version then the file it is installing.
look at the install log. search for the component name, check the Request/Action state. Is the state set to "Local"? Also search for the file name to see if msiexec tried to copy it.

Installshield - The files for installation requirement could not be found. The installation will now stop

I am using InstallShield to build an installer to install some custom prerequisites on my client computers. But everytime I try to run the installer, I get:
The files for installation requirement Crystal Runtime x86 could not be found. The installation will now stop. This is probably due to a failed, or canceled download.
I have told the prereq where the File sits on my local development machine, and it seems like InstallSheild takes this file, and copies it to the ISSetupPrerequisites folder in the same directory as the .exe file it generates. I can confirm my file exists in the ISSetupPrerequisites folder.
Is there something else I need to do to tell the installer where my .msi installer is for my prerequisite?
My guess is that you've copied the installer (setup.exe or something similar) to the PC that you're installing on but not the ISSetupPrerequisites folder. You need to do this because you haven't changed the setting that puts the prerequisites (Crystal Runtime x86 in your case) inside the installer itself.
To enable this, go to your release's "Setup.exe" tab and change the value of the property called "InstallShield Prerequisites Location" from "Copy From Source Media" to "Extract From Setup.exe".
You should verify the checksum and filesize attributes in the redistributable's pre-requisite file. If these don't match the local/downloaded file you'll see that error
(Example files node for MSFT VS 2010 Tools for Office Runtime)
<files>
<file LocalFile="<ISProductFolder>\SetupPrerequisites\VSTOR\vstor_redist.exe" URL="http://download.microsoft.com/download/B/5/1/B51D2F9E-1432-4B76-8248-F47316BB8EE0/vstor_redist.exe" CheckSum="a1b5c8fb246a9d0d66f12d3b6f5e471d" FileSize=" 0,40051808"></file>
</files>
Make sure the CheckSum value inside the .prq file is exactly the same as the MD5 checksum of the package copies on the web url and under < ISProductFolder >\SetupPrerequisites
You can calculate MD5 on windows using the command
certutil.exe -hashfile myPackage.exe MD5

Why is Nuget trying to access my SVN files?

I'm trying to update the Nuget packages in a solution I have, but this is what it does for all of them when I try to update
Successfully installed 'knockoutjs 2.2.1'.
Updating 'knockoutjs' from version '2.2.0' to '2.2.1' in project 'MyProject'.
Directory 'Scripts\.svn\text-base' is not empty. Skipping...
Directory 'Scripts\.svn' is not empty. Skipping...
Successfully removed 'knockoutjs 2.2.0' from MyProject.
Successfully added 'knockoutjs 2.2.1' to MyProject.
Access to the path '(solution path)\packages\knockoutjs.2.2.0\Content\Scripts\.svn\text-base\knockout-2.2.0.debug.js.svn-base' is denied.
Access to the path '(solution path)\packages\knockoutjs.2.2.0\Content\Scripts\.svn\text-base\knockout-2.2.0.js.svn-base' is denied.
Access to the path '(solution path)\packages\knockoutjs.2.2.0\Content\Scripts\.svn\all-wcprops' is denied.
Access to the path '(solution path)\packages\knockoutjs.2.2.0\Content\Scripts\.svn\dir-prop-base' is denied.
...
It pretty much does that for every SVN file. Then says it wasn't properly uninstalled and I need to restart Visual Studio for the changes to take effect, but that doesn't solve anything. I have to manually clear out the files and remove the .deleteme file that gets created.
I also tried running Visual Studio 2012 as Administrator but that didn't change anything. I also have full permissions on my Windows 7 machine to the entire project.
I thought .svn folders were supposed to be ignored by Nuget? Is it trying to delete the older package folder? I'm fine with it taking out all the content files, as long as it leaves the .svn folder alone. I can always mark the files as deleted on the next commit.
Also, I know I can run Nuget without commiting the packages to source control, but I don't want to do that. The feature isn't enabled and the checkbox that lets Nuget download missing packages is not checked. So if it thinks that source control integration is disabled I don't know why.

Change install location if old installation used default location (Program Files/)

Old version of app was installed in /program files/xxx/ (1) or custom location
when installing the new version need to check if old version installed in default location (1)
if so
create /program files/yyy/ (2) and copy the files from old location and continue installation with location (2)
if old version installed in different location continue installation without changing location
any suggestions are welcomed
how can I check from Inno Script if Old location exist
how can I create a copy of the old location folder and rename it
Thanks
Refer to the documentation here and look under "File System functions" and "File functions".
You should use the DirExists, FileCopy and RenameFile functions for your purposes.

Resources