Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
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
Beginner
2,170 Views
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 Replies
Steven_L_Intel1
Employee
2,170 Views
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
0 Kudos
oscarpiedrahita
Beginner
2,170 Views
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
0 Kudos
Jugoslav_Dujic
Valued Contributor II
2,170 Views
What do you mean by "direct access" -- a shortcut?
0 Kudos
isn-removed200637
2,170 Views
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.
0 Kudos
oscarpiedrahita
Beginner
2,170 Views
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
0 Kudos
oscarpiedrahita
Beginner
2,170 Views
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
0 Kudos
isn-removed200637
2,170 Views
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.
0 Kudos
Jugoslav_Dujic
Valued Contributor II
2,170 Views
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
0 Kudos
oscarpiedrahita
Beginner
2,170 Views
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
0 Kudos
Steven_L_Intel1
Employee
2,170 Views
I fixed the link. Apparently you can't have a line break between the url= and the URL itself.

Steve
0 Kudos
oscarpiedrahita
Beginner
2,170 Views
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
0 Kudos
oscarpiedrahita
Beginner
2,170 Views
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
0 Kudos
Jugoslav_Dujic
Valued Contributor II
2,170 Views
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
0 Kudos
Reply