How to add file association during install with installshield 2012 - file

I am trying to add file association during my installation process however the guide supplied doesn't seem to work.
I have used the official Installshield help guide however this didn't work or add anything to the registry? The help guide was very basic and didn't mention what the verb argument does or how it should be used once you have added a new extension. (Not a very good help guide!).
Either way I understand that the registry holds a key that references the file extension and what should be done with it. Installshield appears to support what I am trying to do, however it just doesn't work? Could anyone suggest what the 'correct' process is for setting up a file extension?

Looks like an alternative method is to directly modify the registry with the values you need by using the registry change section within the installshield IDE. The appropriate registry keys can be created by adding a file association though windows and using this as a template of what to add to the registry.

Related

Using Unity namespace issue, using (UnityEngine)

I have a question about this one, I have never encountered this problem before, and I have no idea how to solve it. As you can see in the picture if I leave the Addressable_Spawn_selection script in the Asset file, it can use Unity.Engine.AddressableAssets without any problem. The issue is somehow my script in another folder cant access this script, it can only be accessed when I put both scripts in the same folder. Check the third picture. This allows my other script to access this script. But somehow the script then can no longer access Unity.Engine.AddressableAssets or Tmpro(TextmeshPro)(Check the fourth picture).
I found where is the issue, which is the API that I've downloaded has its own definition that is not assembly c, and has its own "DLL". Go to that definition and add the reference inside that script: for example, add the file of the plugin like TmPro(TextmeshPro)

What are .nsh files? Can't find any docs for it

I recently saw a .nsh file for the first time.
What is it? I can't find any docs regarding this language.
Does anyone know a good place to learn about it?
It is an installer file used by NSIS (Nullsoft Scriptable Install System), a program used for creating Windows installers; saves header information that can be included across all .NSI installer scripts; helps setup common environment conditions for an installation.

Warning while adding primary output to the setup project

I'm trying to create setup for my project. I added the new project with "Setup . When I add primary output to the project, I got the following warning.
"The following files may have dependencies that cannot be determined automatically. Please confirm that all dependencies have been added to the project C:\Users\admin\AppData\Local\Apps\2.0\OPJL9CEH.K72\TOHQTNEM.N1Q\weba..tion_5eaf22060995d42c_0001.0000_b98a6abda035b9be\LeadTools\Ltocxu.ocx C:\Users\admin\AppData\Local\Apps\2.0\OPJL9CEH.K72\TOHQTNEM.N1Q\weba..tion_5eaf22060995d42c_0001.0000_b98a6abda035b9be\LeadTools\LtocxVariantu.dll
Please guide me to solve this problem.
Thanks in advance..
This warning is a "general" warning and not one that may necessarily stop the software from working. It only means that since OCX and DLL files are older technology, the new setup project may not be able to detect the dependencies for these files. You may want to check the LeadTools documentation or find the dependencies manually and add them to the distribution as required.
Again, since this is a general warning for the tool (setup project) itself and not your project specifically, even if you add any missing dependencies.
In this particular case, the warning might be valid. The old LEAD Main OCX (Ltocxu.ocx) did require additional DLLs to work. Some of them are directly linked as dependencies like the kernel and display DLLs (LtKrnu.dll and Ltdisu.dll).
Others are dynamically loaded if needed, such as file format DLLs.
You should be able to find full details in the topic "Files to be Included with Your Application" in LEADTOOLS help files for your specific version of the toolkit.

Change setup file comment

I have built a Setup with InnoSetup. When I display the properties of the Setup.exe file in Windows Explorer, the first field is "Comments" and it says
This installation was built with Inno Setup.
Since this is one of the first things a user will see on Windows XP (not shown on Windows 7 at all) when looking at the properties, I'd like to change it so that it looks less like InnoSetup but more like my program. However, I could not find a setting for it. How could I modify this text using InnoSetup?
I've already gone through all the VersionInfo* properties of the [Setup] category.
Actually this is strictly forbidden and it is against Inno Setup license policy.
Please do not do this, Inno is free and you are taking credits from it!

Installshield The specified File key not found in the File table

I've packaged my WinForms app with the Visual Studio Installshield Limited Edition wizard.
When installing the app, I get this error during installation.
Error 2715. The specified File key ('myappname.xml_serializa') not found in the File table
Any ideas from anyone? I'm completely loss on this one.
In your installer project directory, open the *.isl file and search for the text in your error message, myappname.xml_serializa. It will most likely be in there quite a few times. Either remove it or correct all instances of it.
I had a similar problem recently and found out that it didn't find the key because I was not adding the .primaryoutput file on the section Specify Application Data -> Files. Check if you are adding all the necessary files for your setup before creating the installer. The installer will be created even if it doesn't have all the files, but it won't execute properly.
Hope this helps
Changing the *.isl file resolved our issue. I found that we had changed the .NET framework of a project and when we removed the project output from the Installshield using the prompt it did not update this file so when we added the output again it now contained two outputs. OUTPUT and OUTPUT1. Hope this helps
This is what worked for me: The project in my case was readonly as it was connected to TFS. If you are working offline, make sure you make the project files writable. (Uncheck Read Only at the folder level)
This worked for me:
In your setup project double-click Project Assistant.
Click on Application Files.
Select file(s) with the file extension that was reported in the error message(s).
Click on Delete.
Repeat for any files as needed.
Go back to setup project in Solution Explorer.
Click on Rebuild

Resources