Questions from someone very new to this - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

wbullard
Posts: 2
Joined: Wed Sep 15, 2010 8:19 pm

Questions from someone very new to this

I thought I was semi bright till I started looking at installation packages for our database product.... now I'm going downgrade that rating. All help would be appreciated.

1. If the OS is Windows 7 then I'll install one launch file on the desktop but if it is a prior OS then I'll need to install a differently since they will be path dependent. How do I do this?
2. The installer I built seems to put files in the right places but my main program doesn't show up in Programs list in Windows 7. What do I need to do so that it will?
3. For updates I need to rename the current file before copying over the new file. How is this done?

Thanks again,
Will
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Questions from someone very new to this

Hello Will,
1. If the OS is Windows 7 then I'll install one launch file on the desktop but if it is a prior OS then I'll need to install a differently since they will be path dependent. How do I do this?
I am not sure what you are trying to ask...
Do you need the same file to be placed in a different location, or place a different file in the same location, in the Desktop folder depending on the OS?
2. The installer I built seems to put files in the right places but my main program doesn't show up in Programs list in Windows 7. What do I need to do so that it will?
The name of your installed package, which appears in the programs list, is the "Product Name" that you have set out in the Product Details view from the menu in your Advanced Installer project.
In the same view you also need to check the "Add Remove Programs (Control Panel)" -> "Register product with windows Installer" option.
3. For updates I need to rename the current file before copying over the new file. How is this done?
Can you please tell me more about the files your are trying to rename?

You need two projects to achieve an Update: the initial project and the updated project.
Starting from your initial project, your updated project can bring any modifications in the file system.(Files and Folders view from the menu)

Since you are new with Advanced Installer I would suggest you go through our tutorials. The most important are the first two: "Simple Installation" and "Professional Installation".
You can afterward learn the basics with the Updater using our "Using The Updater" tutorial.

Regards,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
wbullard
Posts: 2
Joined: Wed Sep 15, 2010 8:19 pm

Re: Questions from someone very new to this

1. Ok some progress thanks to your response. I can now install a shortcut to the desktop and the menu bar. This is good. But I'd still like my application folder to show up along with all the other applications under the start button>Programs. What do I need to do to make it show up in that list? I have checked "Register product with Windows Installer".

2. About updates... I understand that the installer sent out for updates will be different from the initial installer. What the update process will need to do is the following: 1) locate my application. I've removed dialog where the user can indicate where they want to install the programs in hopes of having it always installed in the same location so locating should be easy. 2) make a copy of the main file for backup purposes; 3) rename the main file 4) install the new file in the same directory. My guess is that I'll need to write a .BAT file to do that and run it as a custom action. Is that right?

Thanks,
Will Bullard
mihai.petcu wrote:Hello Will,
1. If the OS is Windows 7 then I'll install one launch file on the desktop but if it is a prior OS then I'll need to install a differently since they will be path dependent. How do I do this?
I am not sure what you are trying to ask...
Do you need the same file to be placed in a different location, or place a different file in the same location, in the Desktop folder depending on the OS?
2. The installer I built seems to put files in the right places but my main program doesn't show up in Programs list in Windows 7. What do I need to do so that it will?
The name of your installed package, which appears in the programs list, is the "Product Name" that you have set out in the Product Details view from the menu in your Advanced Installer project.
In the same view you also need to check the "Add Remove Programs (Control Panel)" -> "Register product with windows Installer" option.
3. For updates I need to rename the current file before copying over the new file. How is this done?
Can you please tell me more about the files your are trying to rename?

You need two projects to achieve an Update: the initial project and the updated project.
Starting from your initial project, your updated project can bring any modifications in the file system.(Files and Folders view from the menu)

Since you are new with Advanced Installer I would suggest you go through our tutorials. The most important are the first two: "Simple Installation" and "Professional Installation".
You can afterward learn the basics with the Updater using our "Using The Updater" tutorial.

Regards,
Mihai
_____________________________________________________________________________________________________________________
Mihai Petcu
Advanced Installer Team
http://www.advancedinstaller.com/
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Questions from someone very new to this

Hello,
1. Ok some progress thanks to your response. I can now install a shortcut to the desktop and the menu bar. This is good. But I'd still like my application folder to show up along with all the other applications under the start button>Programs. What do I need to do to make it show up in that list? I have checked "Register product with Windows Installer".
To achieve this, simply go to the "Files and Folders" page, select "Start Menu->Programs" folder from the directory tree, and place a shortcut to your application there. It should show up in the start menu after installation.
2. About updates... I understand that the installer sent out for updates will be different from the initial installer. What the update process will need to do is the following: 1) locate my application. I've removed dialog where the user can indicate where they want to install the programs in hopes of having it always installed in the same location so locating should be easy. 2) make a copy of the main file for backup purposes; 3) rename the main file 4) install the new file in the same directory. My guess is that I'll need to write a .BAT file to do that and run it as a custom action. Is that right?
For preserving a file during an update, you can read the following page from our user guide:
http://www.advancedinstaller.com/user-g ... le-ca.html.
The custom action doing the copy operation should be done before the InstallFiles step to ensure that you are backing up the old version of the file, and not the new one. A .BAT will also do the trick in case you find the vbscripts in our user guide inappropriate for your case.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”