Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Avisos
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Instalation Wizard in VF

oscarpiedrahita
Principiante
2.191 Vistas
Is there any application within Visual Fortran for creating instalation procedures for new applications? I know them in VB and FoxPro, but I have been unable to find it in VF.
Otherwise, how do I create a direct access to an application within the Programs Menu. How about the direct access in the desk?
0 kudos
13 Respuestas
Steven_L_Intel1
Empleados
2.191 Vistas
No, CVF doesn't include a tool for creating installation packages. There are various commercial products for that, maybe some freeware or shareware tools. The Windows Installer API is also documented (though difficult to use directly.)

Steve
oscarpiedrahita
Principiante
2.191 Vistas
Thank you Steve.
OK, then it will be necessary to develop one. Does some one know where and how to place into the desktop a direct access for an executable?
Oscar
Jugoslav_Dujic
Colaborador Valioso II
2.191 Vistas
What do you mean by "direct access" -- a shortcut?
isn-removed200637
Principiante
2.191 Vistas
You can down-load a FREE installation scripting package
from http://www.jrsoftware.org/. It is calle Inno Set-up.
It should satisfy all your needs.
oscarpiedrahita
Principiante
2.191 Vistas
Hello Jugoslav,
Yes, it would be necessary to offer the possibility of creating a shortcut to the desktop and also to create an entrance to the Start Menu Folder.
Thanks in advance
Oscar
oscarpiedrahita
Principiante
2.191 Vistas
Hi tonyrichards,
I have downloaded your software. I believe it is what I need, I will study it.
Thank very much for your help and congratulations for the application.
Oscar
isn-removed200637
Principiante
2.191 Vistas
I am glad if it satisfies your need. However, I can take no credit for the application, I just gave the web-page address. Please send your plaudits to the author at that address. Regards.
Jugoslav_Dujic
Colaborador Valioso II
2.191 Vistas
Although you probably won't need it anymore, for future reference here is the sample (in C) on creating a shortcut. (It's more complicated than one might think!). See also SHGetSpecialFolderLocation API.

Here is a brief info about creating file associations.

Jugoslav
oscarpiedrahita
Principiante
2.191 Vistas
Thanks, people.
Jugoslav, the first link leads to a 404 error. I would like to watch the example for shorcuts. Do you have a newer link or may be a copy?
Thank you again.
Oscar
Steven_L_Intel1
Empleados
2.191 Vistas
I fixed the link. Apparently you can't have a line break between the url= and the URL itself.

Steve
oscarpiedrahita
Principiante
2.191 Vistas
Oh God!
My poor old Fortran is unable of translating this C procedure to a CVF subroutine. I will try Inno application, although I can not see how to copy directories within Inno and copying by files would be a difficult task.
Thanks
Oscar
oscarpiedrahita
Principiante
2.191 Vistas
Steve, the problem was fixed, it is working OK.
It is important to download the last version of the software (Inno 3, version 3.03). The version 2.0.19 is not complete.
My application is working as desired.
Thank you people.
May be somebody (JD?)would like to do it in Fortran.
Oscar
Jugoslav_Dujic
Colaborador Valioso II
2.191 Vistas
Well, I don't feel like reinventing the wheel -- setups should be done by setup scripts. Period.

However, as for that C sample for creating the shortcut, it is supposed to be a piece of cake to use Module Wizard on Shell32.dll to generate interfaces for IShellLink -- but IShellLink is not on the list of interfaces. Can some COM/Module Wizard gurus shed some light?

Jugoslav
Responder