Re: Installing new wodUpdSv.exe with Installshield - WeOnlyDo Discussion board

Re: Installing new wodUpdSv.exe with Installshield (General questions)

by alexandreo, Thursday, January 29, 2009, 16:18 (5776 days ago) @ wodDamir

Giving Administrators every right does not seem to change it. Giving Users every right corrects it.

The execution path is C:ProgrammesMyUpdater which is the default Program files directory on a french vista installation.

To duplicate it, you have to use InstallShield. Create a new project, add an updater application (your sample should do it), add the wodAppUpdate.dll(set the property to Self Register and the wodUpdSv.exe. In the Organization section, subsection Components, expand the wodUpdSv.exe component, expand Advanced Settings , and in the Install NT Services section, add a new NT Services entry. Create the installer (F7), and install the package on a Windows Vista machine. If you execute your application, it won't be able to update your files. It will download them, but won't update them. But, if you give the rights to Users on the directory, everyone will be able to update.

If you install the software on another Vista machine, but instead of giving permissions to Users , you copy the updater application (your sample in this case) in any other directory accessible to every user (say, a USB drive, or the C: directory), and execute it, it should update properly.

EDIT : Something that just popped up as strange too is that permissions inheritance is not always applied. Folders seems to inherits proper permissions, but not files. Might it have something to do with all of this?

UPDATE : I just remembered the post about Permission Revisited . Might it be a recurring bug? It seems to be closely related, because I have the same file permission problem as the original poster.


Complete thread: